{"action":"created","comment":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/comments/33705455","id":33705455,"diff_hunk":"@@ -0,0 +1,448 @@\n+/*\n+ * Licensed to the University of California, Berkeley under one or more contributor license\n+ * agreements. See the NOTICE file distributed with this work for additional information regarding\n+ * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the\n+ * \"License\"); you may not use this file except in compliance with the License. You may obtain a\n+ * copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software distributed under the License\n+ * is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n+ * or implied. See the License for the specific language governing permissions and limitations under\n+ * the License.\n+ */\n+\n+package tachyon.worker.block;\n+\n+import java.io.IOException;\n+import java.net.InetSocketAddress;\n+import java.util.List;\n+import java.util.concurrent.ExecutorService;\n+import java.util.concurrent.Executors;\n+\n+import com.google.common.base.Throwables;\n+\n+import org.apache.thrift.TException;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import tachyon.Constants;\n+import tachyon.Users;\n+import tachyon.conf.TachyonConf;\n+import tachyon.master.MasterClient;\n+import tachyon.thrift.FailedToCheckpointException;\n+import tachyon.thrift.FileDoesNotExistException;\n+import tachyon.thrift.OutOfSpaceException;\n+import tachyon.underfs.UnderFileSystem;\n+import tachyon.util.CommonUtils;\n+import tachyon.util.NetworkUtils;\n+import tachyon.util.ThreadFactoryUtils;\n+import tachyon.worker.WorkerSource;\n+import tachyon.worker.block.io.BlockReader;\n+import tachyon.worker.block.io.BlockWriter;\n+import tachyon.worker.block.meta.BlockMeta;\n+import tachyon.worker.block.meta.TempBlockMeta;\n+\n+/**\n+ * Class responsible for managing the Tachyon BlockStore and Under FileSystem. This class is\n+ * thread-safe.\n+ */\n+public class BlockDataManager {\n+  private static final Logger LOG = LoggerFactory.getLogger(Constants.LOGGER_TYPE);\n+\n+  /** Block store delta reporter for master heartbeat */\n+  private final BlockHeartbeatReporter mHeartbeatReporter;\n+  /** Block Store manager */\n+  private final BlockStore mBlockStore;\n+  /** Master client threadpool */\n+  private final ExecutorService mMasterClientExecutorService;\n+  /** Configuration values */\n+  private final TachyonConf mTachyonConf;\n+  /** WorkerSource for collecting worker metrics */\n+  private final WorkerSource mWorkerSource;\n+  /** Metrics reporter that listens on block events and increases metrics counters*/\n+  private final BlockMetricsReporter mMetricsReporter;\n+\n+  // TODO: See if this can be removed from the class\n+  /** MasterClient, only used to inform the master of a new block in commitBlock */\n+  private MasterClient mMasterClient;\n+  /** UnderFileSystem Client */\n+  private UnderFileSystem mUfs;\n+  /** User metadata, used to keep track of user heartbeats */\n+  private Users mUsers;\n+  /** Id of this worker */\n+  long mWorkerId;\n+\n+  /**\n+   * Creates a BlockDataManager based on the configuration values.\n+   *\n+   * @param tachyonConf the configuration values to use\n+   * @param workerSource object for collecting the worker metrics\n+   * @throws IOException if the tiered store fails to initialize\n+   */\n+  public BlockDataManager(TachyonConf tachyonConf, WorkerSource workerSource) throws IOException {\n+    mHeartbeatReporter = new BlockHeartbeatReporter();\n+    mBlockStore = new TieredBlockStore(tachyonConf);\n+    mTachyonConf = tachyonConf;\n+    mWorkerSource = workerSource;\n+    mMetricsReporter = new BlockMetricsReporter(mWorkerSource);\n+\n+    mMasterClientExecutorService =\n+        Executors.newFixedThreadPool(1,\n+            ThreadFactoryUtils.build(\"worker-client-heartbeat-%d\", true));\n+    mMasterClient =\n+        new MasterClient(getMasterAddress(), mMasterClientExecutorService, mTachyonConf);\n+\n+    // Create Under FileSystem Client\n+    String tachyonHome = mTachyonConf.get(Constants.TACHYON_HOME, Constants.DEFAULT_HOME);\n+    String ufsAddress =\n+        mTachyonConf.get(Constants.UNDERFS_ADDRESS, tachyonHome + \"/underFSStorage\");\n+    mUfs = UnderFileSystem.get(ufsAddress, mTachyonConf);\n+    // Connect to UFS to handle UFS security\n+    InetSocketAddress workerAddress = getWorkerAddress();\n+    try {\n+      mUfs.connectFromWorker(mTachyonConf, NetworkUtils.getFqdnHost(workerAddress));\n+    } catch (IOException e) {\n+      LOG.error(\"Worker @ \" + workerAddress + \" failed to connect to the under file system\", e);\n+      throw Throwables.propagate(e);\n+    }\n+\n+    // Register the heartbeat reporter so it can record block store changes\n+    mBlockStore.registerBlockStoreEventListener(mHeartbeatReporter);\n+    mBlockStore.registerBlockStoreEventListener(mMetricsReporter);\n+  }\n+\n+  /**\n+   * Aborts the temporary block created by the user.\n+   *\n+   * @param userId The id of the client\n+   * @param blockId The id of the block to be aborted\n+   * @throws IOException if the block does not exist\n+   */\n+  public void abortBlock(long userId, long blockId) throws IOException {\n+    mBlockStore.abortBlock(userId, blockId);\n+  }\n+\n+  /**\n+   * Access the block for a given user. This should be called to update the evictor when necessary.\n+   *\n+   * @param userId The id of the client\n+   * @param blockId The id of the block to access\n+   */\n+  public void accessBlock(long userId, long blockId) throws IOException {\n+    mBlockStore.accessBlock(userId, blockId);\n+  }\n+\n+  /**\n+   * Add the checkpoint information of a file. The information is from the user <code>userId</code>.\n+   *\n+   * This method is normally triggered from {@link tachyon.client.FileOutStream#close()} if and only\n+   * if {@link tachyon.client.WriteType#isThrough()} is true. The current implementation of\n+   * checkpointing is that through {@link tachyon.client.WriteType} operations write to\n+   * {@link tachyon.underfs.UnderFileSystem} on the client's write path, but under a user temp\n+   * directory (temp directory is defined in the worker as {@link #getUserUfsTmpFolder(long)}).\n+   *\n+   * @param userId The user id of the client who sends the notification\n+   * @param fileId The id of the checkpointed file\n+   * @throws TException if the file does not exist or cannot be renamed\n+   * @throws IOException if the update to the master fails\n+   */\n+  public void addCheckpoint(long userId, int fileId) throws TException, IOException {\n+    // TODO This part needs to be changed.\n+    String srcPath = CommonUtils.concatPath(getUserUfsTmpFolder(userId), fileId);\n+    String ufsDataFolder = mTachyonConf.get(Constants.UNDERFS_DATA_FOLDER, \"/tachyon/data\");\n+    String dstPath = CommonUtils.concatPath(ufsDataFolder, fileId);\n+    try {\n+      if (!mUfs.rename(srcPath, dstPath)) {\n+        throw new FailedToCheckpointException(\"Failed to rename \" + srcPath + \" to \" + dstPath);\n+      }\n+    } catch (IOException e) {\n+      throw new FailedToCheckpointException(\"Failed to rename \" + srcPath + \" to \" + dstPath);\n+    }\n+    long fileSize;\n+    try {\n+      fileSize = mUfs.getFileSize(dstPath);\n+    } catch (IOException e) {\n+      throw new FailedToCheckpointException(\"Failed to getFileSize \" + dstPath);\n+    }\n+    mMasterClient.addCheckpoint(mWorkerId, fileId, fileSize, dstPath);\n+  }\n+\n+  /**\n+   * Cleans up after users, to prevent zombie users. This method is called periodically.\n+   */\n+  public void cleanupUsers() throws IOException {\n+    for (long user : mUsers.getTimedOutUsers()) {\n+      mUsers.removeUser(user);\n+      mBlockStore.cleanupUser(user);\n+    }\n+  }\n+\n+  /**\n+   * Commits a block to Tachyon managed space. The block must be temporary.\n+   *\n+   * @param userId The id of the client\n+   * @param blockId The id of the block to commit\n+   * @return true if successful, false otherwise\n+   * @throws IOException if the block to commit does not exist\n+   */\n+  // TODO: This may be better as void\n+  public boolean commitBlock(long userId, long blockId) throws IOException {\n+    mBlockStore.commitBlock(userId, blockId);\n+\n+    // TODO: Reconsider how to do this without heavy locking\n+    // Block successfully committed, update master with new block metadata\n+    Long lockId = mBlockStore.lockBlock(userId, blockId);\n+    BlockMeta meta = mBlockStore.getBlockMeta(userId, blockId, lockId);\n+    BlockStoreLocation loc = meta.getBlockLocation();\n+    Long storageDirId = loc.getStorageDirId();\n+    Long length = meta.getBlockSize();\n+    BlockStoreMeta storeMeta = mBlockStore.getBlockStoreMeta();\n+    Long bytesUsedOnTier = storeMeta.getUsedBytesOnTiers().get(loc.tierLevel());\n+    try {\n+      mMasterClient\n+          .worker_cacheBlock(mWorkerId, bytesUsedOnTier, storageDirId, blockId, length);\n+    } catch (TException te) {\n+      mBlockStore.unlockBlock(userId, blockId);\n+      throw new IOException(\"Failed to commit block to master.\", te);\n+    }\n+    mBlockStore.unlockBlock(userId, blockId);\n+    return true;\n+  }\n+\n+  /**\n+   * Creates a block in Tachyon managed space. The block will be temporary until it is committed.\n+   *\n+   * @param userId The id of the client\n+   * @param blockId The id of the block to create\n+   * @param location The tier to place the new block in, -1 for any tier\n+   * @param initialBytes The initial amount of bytes to be allocated\n+   * @return A string representing the path to the local file\n+   * @throws IOException if the block already exists\n+   * @throws OutOfSpaceException if there is no more space to store the block\n+   */\n+  // TODO: We should avoid throwing IOException\n+  public String createBlock(long userId, long blockId, int location, long initialBytes)\n+      throws IOException, OutOfSpaceException {\n+    BlockStoreLocation loc = BlockStoreLocation.anyDirInTier(location);\n+    TempBlockMeta createdBlock = mBlockStore.createBlockMeta(userId, blockId, loc, initialBytes);\n+    return createdBlock.getPath();\n+  }\n+\n+  /**\n+   * Creates a block. This method is only called from a data server.\n+   *\n+   * @param userId The id of the client\n+   * @param blockId The id of the block to be created\n+   * @param location The tier to create this block, -1 for any tier\n+   * @param initialBytes The initial amount of bytes to be allocated\n+   * @return the block writer for the local block file\n+   * @throws FileDoesNotExistException if the block is not on the worker\n+   * @throws IOException if the block writer cannot be obtained\n+   */\n+  // TODO: We should avoid throwing IOException\n+  public BlockWriter createBlockRemote(long userId, long blockId, int location, long initialBytes)\n+      throws FileDoesNotExistException, IOException {\n+    BlockStoreLocation loc = BlockStoreLocation.anyDirInTier(location);\n+    mBlockStore.createBlockMeta(userId, blockId, loc, initialBytes);\n+    return mBlockStore.getBlockWriter(userId, blockId);\n+  }\n+\n+  /**\n+   * Gets a report for the periodic heartbeat to master. Contains the blocks added since the last\n+   * heart beat and blocks removed since the last heartbeat.\n+   *\n+   * @return a block heartbeat report\n+   */\n+  public BlockHeartbeatReport getReport() {\n+    return mHeartbeatReporter.generateReport();\n+  }\n+\n+  /**\n+   * Gets the metadata for the entire block store. Contains the block mapping per storage dir and\n+   * the total capacity and used capacity of each tier.\n+   *\n+   * @return the block store metadata\n+   */\n+  public BlockStoreMeta getStoreMeta() {\n+    return mBlockStore.getBlockStoreMeta();\n+  }\n+\n+  /**\n+   * Gets the temporary folder for the user in the under filesystem.\n+   *\n+   * @param userId The id of the client\n+   * @return the path to the under filesystem temporary folder for the client\n+   */\n+  public String getUserUfsTmpFolder(long userId) {\n+    return mUsers.getUserUfsTempFolder(userId);\n+  }\n+\n+  /**\n+   * Obtains a read lock the block.\n+   *\n+   * @param userId The id of the client\n+   * @param blockId The id of the block to be locked\n+   * @return the lockId, or -1 if we failed to obtain a lock","path":"servers/src/main/java/tachyon/worker/block/BlockDataManager.java","position":287,"original_position":287,"commit_id":"16d77d346afadafc701006091f420c4ae1b4f58e","original_commit_id":"16d77d346afadafc701006091f420c4ae1b4f58e","user":{"login":"gpang","id":429032,"avatar_url":"https://avatars.githubusercontent.com/u/429032?v=3","gravatar_id":"","url":"https://api.github.com/users/gpang","html_url":"https://github.com/gpang","followers_url":"https://api.github.com/users/gpang/followers","following_url":"https://api.github.com/users/gpang/following{/other_user}","gists_url":"https://api.github.com/users/gpang/gists{/gist_id}","starred_url":"https://api.github.com/users/gpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpang/subscriptions","organizations_url":"https://api.github.com/users/gpang/orgs","repos_url":"https://api.github.com/users/gpang/repos","events_url":"https://api.github.com/users/gpang/events{/privacy}","received_events_url":"https://api.github.com/users/gpang/received_events","type":"User","site_admin":false},"body":"When is IOException thrown, vs returning -1? (missing javadoc)","created_at":"2015-07-01T17:59:10Z","updated_at":"2015-07-01T17:59:10Z","html_url":"https://github.com/amplab/tachyon/pull/1017#discussion_r33705455","pull_request_url":"https://api.github.com/repos/amplab/tachyon/pulls/1017","_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments/33705455"},"html":{"href":"https://github.com/amplab/tachyon/pull/1017#discussion_r33705455"},"pull_request":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1017"}}},"pull_request":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/1017","id":38702106,"html_url":"https://github.com/amplab/tachyon/pull/1017","diff_url":"https://github.com/amplab/tachyon/pull/1017.diff","patch_url":"https://github.com/amplab/tachyon/pull/1017.patch","issue_url":"https://api.github.com/repos/amplab/tachyon/issues/1017","number":1017,"state":"open","locked":false,"title":"[WIP] [TACHYON-515] Tachyon Worker Improvement","user":{"login":"calvinjia","id":2223813,"avatar_url":"https://avatars.githubusercontent.com/u/2223813?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinjia","html_url":"https://github.com/calvinjia","followers_url":"https://api.github.com/users/calvinjia/followers","following_url":"https://api.github.com/users/calvinjia/following{/other_user}","gists_url":"https://api.github.com/users/calvinjia/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinjia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinjia/subscriptions","organizations_url":"https://api.github.com/users/calvinjia/orgs","repos_url":"https://api.github.com/users/calvinjia/repos","events_url":"https://api.github.com/users/calvinjia/events{/privacy}","received_events_url":"https://api.github.com/users/calvinjia/received_events","type":"User","site_admin":false},"body":"https://tachyon.atlassian.net/browse/TACHYON-515\r\n\r\nThis is a rebased version of the worker_wip branch.","created_at":"2015-06-27T02:02:10Z","updated_at":"2015-07-01T17:59:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a467d2ff3e0e6d8a70e3f03bbcadfe1c5ef34590","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplab/tachyon/pulls/1017/commits","review_comments_url":"https://api.github.com/repos/amplab/tachyon/pulls/1017/comments","review_comment_url":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplab/tachyon/issues/1017/comments","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/16d77d346afadafc701006091f420c4ae1b4f58e","head":{"label":"amplab:rebased_worker_wip","ref":"rebased_worker_wip","sha":"16d77d346afadafc701006091f420c4ae1b4f58e","user":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"repo":{"id":7276954,"name":"tachyon","full_name":"amplab/tachyon","owner":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplab/tachyon","description":" A Reliable Memory Centric Distributed Storage System","fork":false,"url":"https://api.github.com/repos/amplab/tachyon","forks_url":"https://api.github.com/repos/amplab/tachyon/forks","keys_url":"https://api.github.com/repos/amplab/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplab/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplab/tachyon/teams","hooks_url":"https://api.github.com/repos/amplab/tachyon/hooks","issue_events_url":"https://api.github.com/repos/amplab/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/amplab/tachyon/events","assignees_url":"https://api.github.com/repos/amplab/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/amplab/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/amplab/tachyon/tags","blobs_url":"https://api.github.com/repos/amplab/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplab/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplab/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplab/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/amplab/tachyon/languages","stargazers_url":"https://api.github.com/repos/amplab/tachyon/stargazers","contributors_url":"https://api.github.com/repos/amplab/tachyon/contributors","subscribers_url":"https://api.github.com/repos/amplab/tachyon/subscribers","subscription_url":"https://api.github.com/repos/amplab/tachyon/subscription","commits_url":"https://api.github.com/repos/amplab/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplab/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplab/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplab/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplab/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/amplab/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplab/tachyon/merges","archive_url":"https://api.github.com/repos/amplab/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplab/tachyon/downloads","issues_url":"https://api.github.com/repos/amplab/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/amplab/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/amplab/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/amplab/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplab/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/amplab/tachyon/releases{/id}","created_at":"2012-12-21T17:43:46Z","updated_at":"2015-07-01T04:17:01Z","pushed_at":"2015-07-01T15:29:35Z","git_url":"git://github.com/amplab/tachyon.git","ssh_url":"git@github.com:amplab/tachyon.git","clone_url":"https://github.com/amplab/tachyon.git","svn_url":"https://github.com/amplab/tachyon","homepage":"http://tachyon-project.org","size":34278,"stargazers_count":1459,"watchers_count":1459,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":538,"mirror_url":null,"open_issues_count":19,"forks":538,"open_issues":19,"watchers":1459,"default_branch":"master"}},"base":{"label":"amplab:master","ref":"master","sha":"d6054a7be4506610280514f9c4192849f63e0d8d","user":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"repo":{"id":7276954,"name":"tachyon","full_name":"amplab/tachyon","owner":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplab/tachyon","description":" A Reliable Memory Centric Distributed Storage System","fork":false,"url":"https://api.github.com/repos/amplab/tachyon","forks_url":"https://api.github.com/repos/amplab/tachyon/forks","keys_url":"https://api.github.com/repos/amplab/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplab/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplab/tachyon/teams","hooks_url":"https://api.github.com/repos/amplab/tachyon/hooks","issue_events_url":"https://api.github.com/repos/amplab/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/amplab/tachyon/events","assignees_url":"https://api.github.com/repos/amplab/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/amplab/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/amplab/tachyon/tags","blobs_url":"https://api.github.com/repos/amplab/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplab/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplab/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplab/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/amplab/tachyon/languages","stargazers_url":"https://api.github.com/repos/amplab/tachyon/stargazers","contributors_url":"https://api.github.com/repos/amplab/tachyon/contributors","subscribers_url":"https://api.github.com/repos/amplab/tachyon/subscribers","subscription_url":"https://api.github.com/repos/amplab/tachyon/subscription","commits_url":"https://api.github.com/repos/amplab/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplab/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplab/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplab/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplab/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/amplab/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplab/tachyon/merges","archive_url":"https://api.github.com/repos/amplab/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplab/tachyon/downloads","issues_url":"https://api.github.com/repos/amplab/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/amplab/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/amplab/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/amplab/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplab/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/amplab/tachyon/releases{/id}","created_at":"2012-12-21T17:43:46Z","updated_at":"2015-07-01T04:17:01Z","pushed_at":"2015-07-01T15:29:35Z","git_url":"git://github.com/amplab/tachyon.git","ssh_url":"git@github.com:amplab/tachyon.git","clone_url":"https://github.com/amplab/tachyon.git","svn_url":"https://github.com/amplab/tachyon","homepage":"http://tachyon-project.org","size":34278,"stargazers_count":1459,"watchers_count":1459,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":538,"mirror_url":null,"open_issues_count":19,"forks":538,"open_issues":19,"watchers":1459,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1017"},"html":{"href":"https://github.com/amplab/tachyon/pull/1017"},"issue":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1017"},"comments":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1017/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1017/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1017/commits"},"statuses":{"href":"https://api.github.com/repos/amplab/tachyon/statuses/16d77d346afadafc701006091f420c4ae1b4f58e"}}}}