{"action":"created","comment":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/comments/38823848","id":38823848,"diff_hunk":"@@ -0,0 +1,648 @@\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.master.block;\n+\n+import java.io.IOException;\n+import java.util.ArrayList;\n+import java.util.Collection;\n+import java.util.Collections;\n+import java.util.HashMap;\n+import java.util.HashSet;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.Map.Entry;\n+import java.util.Set;\n+import java.util.concurrent.BlockingQueue;\n+import java.util.concurrent.Executors;\n+import java.util.concurrent.Future;\n+import java.util.concurrent.LinkedBlockingQueue;\n+import java.util.concurrent.atomic.AtomicLong;\n+\n+import org.apache.thrift.TProcessor;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import tachyon.Constants;\n+import tachyon.HeartbeatExecutor;\n+import tachyon.HeartbeatThread;\n+import tachyon.StorageDirId;\n+import tachyon.StorageLevelAlias;\n+import tachyon.conf.TachyonConf;\n+import tachyon.master.IndexedSet;\n+import tachyon.master.MasterBase;\n+import tachyon.master.block.journal.BlockIdGeneratorEntry;\n+import tachyon.master.block.journal.BlockInfoEntry;\n+import tachyon.master.block.journal.WorkerIdGeneratorEntry;\n+import tachyon.master.block.meta.MasterBlockInfo;\n+import tachyon.master.block.meta.MasterBlockLocation;\n+import tachyon.master.block.meta.MasterWorkerInfo;\n+import tachyon.master.journal.Journal;\n+import tachyon.master.journal.JournalEntry;\n+import tachyon.master.journal.JournalInputStream;\n+import tachyon.master.journal.JournalOutputStream;\n+import tachyon.thrift.BlockInfo;\n+import tachyon.thrift.BlockInfoException;\n+import tachyon.thrift.BlockLocation;\n+import tachyon.thrift.BlockMasterService;\n+import tachyon.thrift.Command;\n+import tachyon.thrift.CommandType;\n+import tachyon.thrift.NetAddress;\n+import tachyon.thrift.WorkerInfo;\n+import tachyon.util.CommonUtils;\n+import tachyon.util.FormatUtils;\n+import tachyon.util.ThreadFactoryUtils;\n+import tachyon.util.io.PathUtils;\n+\n+/**\n+ * This master manages the metadata for all the blocks and block workers in Tachyon.\n+ */\n+public final class BlockMaster extends MasterBase implements ContainerIdGenerator {\n+  private static final Logger LOG = LoggerFactory.getLogger(Constants.LOGGER_TYPE);\n+\n+  private final TachyonConf mTachyonConf;\n+\n+  /** Block metadata management. */\n+  /**\n+   * Blocks on all workers, including active and lost blocks. This state must be journaled. Access\n+   * must be synchronized on mBlocks. If both block and worker metadata must be locked, mBlocks must\n+   * be locked first.\n+   */\n+  private final Map<Long, MasterBlockInfo> mBlocks = new HashMap<Long, MasterBlockInfo>();\n+  /**\n+   * Keeps track of block which are no longer in tachyon storage. Access must be synchronized on\n+   * mBlocks.\n+   */\n+  private final Set<Long> mLostBlocks = new HashSet<Long>();\n+  /** This state must be journaled. */\n+  private final BlockIdGenerator mBlockIdGenerator = new BlockIdGenerator();\n+\n+  /** Worker metadata management. */\n+  private final IndexedSet.FieldIndex<MasterWorkerInfo> mIdIndex =\n+      new IndexedSet.FieldIndex<MasterWorkerInfo>() {\n+        @Override\n+        public Object getFieldValue(MasterWorkerInfo o) {\n+          return o.getId();\n+        }\n+      };\n+  private final IndexedSet.FieldIndex<MasterWorkerInfo> mAddressIndex =\n+      new IndexedSet.FieldIndex<MasterWorkerInfo>() {\n+        @Override\n+        public Object getFieldValue(MasterWorkerInfo o) {\n+          return o.getAddress();\n+        }\n+      };\n+  @SuppressWarnings(\"unchecked\")\n+  /**\n+   * All worker information. Access must be synchronized on mWorkers. If both block and worker\n+   * metadata must be locked, mBlocks must be locked first.\n+   */\n+  private final IndexedSet<MasterWorkerInfo> mWorkers =\n+      new IndexedSet<MasterWorkerInfo>(mIdIndex, mAddressIndex);\n+  /**\n+   * Keeps track of workers which are no longer in communication with the master. Access must be\n+   * synchronized on mWorkers.\n+   */\n+  private final BlockingQueue<MasterWorkerInfo> mLostWorkers =\n+      new LinkedBlockingQueue<MasterWorkerInfo>();\n+  /** The service that detects lost worker nodes, and tries to restart the failed workers. */\n+  private Future<?> mLostWorkerDetectionService;\n+  /** The next worker id to use. This state must be journaled. */\n+  private final AtomicLong mNextWorkerId = new AtomicLong(1);\n+\n+  /**\n+   * @param baseDirectory the base journal directory\n+   * @return the journal directory for this master\n+   */\n+  public static String getJournalDirectory(String baseDirectory) {\n+    return PathUtils.concatPath(baseDirectory, Constants.BLOCK_MASTER_SERVICE_NAME);\n+  }\n+\n+  public BlockMaster(Journal journal, TachyonConf tachyonConf) {\n+    super(journal,\n+        Executors.newFixedThreadPool(2, ThreadFactoryUtils.build(\"block-master-%d\", true)));\n+    mTachyonConf = tachyonConf;\n+  }\n+\n+  @Override\n+  public TProcessor getProcessor() {\n+    return new BlockMasterService.Processor<BlockMasterServiceHandler>(\n+        new BlockMasterServiceHandler(this));\n+  }\n+\n+  @Override\n+  public String getServiceName() {\n+    return Constants.BLOCK_MASTER_SERVICE_NAME;\n+  }\n+\n+  @Override\n+  public void processJournalCheckpoint(JournalInputStream inputStream) throws IOException {\n+    // clear state before processing checkpoint.\n+    mBlocks.clear();\n+    super.processJournalCheckpoint(inputStream);\n+  }\n+\n+  @Override\n+  public void processJournalEntry(JournalEntry entry) throws IOException {\n+    if (entry instanceof BlockIdGeneratorEntry) {\n+      mBlockIdGenerator.setNextContainerId(((BlockIdGeneratorEntry) entry).getNextContainerId());\n+    } else if (entry instanceof WorkerIdGeneratorEntry) {\n+      mNextWorkerId.set(((WorkerIdGeneratorEntry) entry).getNextWorkerId());\n+    } else if (entry instanceof BlockInfoEntry) {\n+      BlockInfoEntry blockInfoEntry = (BlockInfoEntry) entry;\n+      mBlocks.put(blockInfoEntry.getBlockId(),\n+          new MasterBlockInfo(blockInfoEntry.getBlockId(), blockInfoEntry.getLength()));\n+    } else {\n+      throw new IOException(\"unexpected entry in journal: \" + entry);\n+    }\n+  }\n+\n+  @Override\n+  public void streamToJournalCheckpoint(JournalOutputStream outputStream) throws IOException {\n+    outputStream.writeEntry(mBlockIdGenerator.toJournalEntry());\n+    outputStream.writeEntry(new WorkerIdGeneratorEntry(mNextWorkerId.get()));\n+    for (MasterBlockInfo blockInfo : mBlocks.values()) {\n+      outputStream.writeEntry(new BlockInfoEntry(blockInfo.getBlockId(), blockInfo.getLength()));\n+    }\n+  }\n+\n+  @Override\n+  public void start(boolean isLeader) throws IOException {\n+    super.start(isLeader);\n+    if (isLeaderMode()) {\n+      mLostWorkerDetectionService =\n+          getExecutorService().submit(new HeartbeatThread(\"Lost worker detection service\",\n+              new LostWorkerDetectionHeartbeatExecutor(),\n+              mTachyonConf.getInt(Constants.MASTER_HEARTBEAT_INTERVAL_MS)));\n+    }\n+  }\n+\n+  @Override\n+  public void stop() throws IOException {\n+    super.stop();\n+    if (mLostWorkerDetectionService != null) {\n+      mLostWorkerDetectionService.cancel(true);\n+    }\n+  }\n+\n+  /**\n+   * @return the number of workers\n+   */\n+  public int getWorkerCount() {\n+    synchronized (mWorkers) {\n+      return mWorkers.size();\n+    }\n+  }\n+\n+  /**\n+   * @return a list of {@link WorkerInfo} objects representing the workers in Tachyon. Called via\n+   *         RPC, and the internal web ui.\n+   */\n+  public List<WorkerInfo> getWorkerInfoList() {\n+    synchronized (mWorkers) {\n+      List<WorkerInfo> workerInfoList = new ArrayList<WorkerInfo>(mWorkers.size());\n+      for (MasterWorkerInfo masterWorkerInfo : mWorkers) {\n+        workerInfoList.add(masterWorkerInfo.generateClientWorkerInfo());\n+      }\n+      return workerInfoList;\n+    }\n+  }\n+\n+  /**\n+   * @return the total capacity (in bytes) on all tiers, on all workers of Tachyon. Called via RPC\n+   *         and internal web ui.\n+   */\n+  public long getCapacityBytes() {\n+    long ret = 0;\n+    synchronized (mWorkers) {\n+      for (MasterWorkerInfo worker : mWorkers) {\n+        ret += worker.getCapacityBytes();\n+      }\n+    }\n+    return ret;\n+  }\n+\n+  /**\n+   * @return the total used bytes on all tiers, on all workers of Tachyon. Called via RPC and\n+   *         internal web ui.\n+   */\n+  public long getUsedBytes() {\n+    long ret = 0;\n+    synchronized (mWorkers) {\n+      for (MasterWorkerInfo worker : mWorkers) {\n+        ret += worker.getUsedBytes();\n+      }\n+    }\n+    return ret;\n+  }\n+\n+  /**\n+   * Gets info about the lost workers. Called by the internal web ui.\n+   *\n+   * @return a list of worker info\n+   */\n+  public List<WorkerInfo> getLostWorkersInfo() {\n+    synchronized (mWorkers) {\n+      List<WorkerInfo> ret = new ArrayList<WorkerInfo>(mLostWorkers.size());\n+      for (MasterWorkerInfo worker : mLostWorkers) {\n+        ret.add(worker.generateClientWorkerInfo());\n+      }\n+      return ret;\n+    }\n+  }\n+\n+  /**\n+   * Removes blocks from workers. Called by internal masters.\n+   *\n+   * @param blockIds a list of block ids to remove from Tachyon space.\n+   */\n+  public void removeBlocks(List<Long> blockIds) {\n+    synchronized (mBlocks) {\n+      synchronized (mWorkers) {\n+        for (long blockId : blockIds) {\n+          MasterBlockInfo masterBlockInfo = mBlocks.get(blockId);\n+          if (masterBlockInfo == null) {\n+            continue;\n+          }\n+          for (long workerId : masterBlockInfo.getWorkers()) {\n+            masterBlockInfo.removeWorker(workerId);\n+            MasterWorkerInfo worker = mWorkers.getFirstByField(mIdIndex, workerId);\n+            if (worker != null) {\n+              worker.updateToRemovedBlock(true, blockId);\n+            }\n+          }\n+          // remove from lost blocks","path":"servers/src/main/java/tachyon/master/block/BlockMaster.java","position":286,"original_position":286,"commit_id":"5c4d1e92f3bc4e29a73ef90931bc50a359ad06f6","original_commit_id":"5c4d1e92f3bc4e29a73ef90931bc50a359ad06f6","user":{"login":"jsimsa","id":1072079,"avatar_url":"https://avatars.githubusercontent.com/u/1072079?v=3","gravatar_id":"","url":"https://api.github.com/users/jsimsa","html_url":"https://github.com/jsimsa","followers_url":"https://api.github.com/users/jsimsa/followers","following_url":"https://api.github.com/users/jsimsa/following{/other_user}","gists_url":"https://api.github.com/users/jsimsa/gists{/gist_id}","starred_url":"https://api.github.com/users/jsimsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsimsa/subscriptions","organizations_url":"https://api.github.com/users/jsimsa/orgs","repos_url":"https://api.github.com/users/jsimsa/repos","events_url":"https://api.github.com/users/jsimsa/events{/privacy}","received_events_url":"https://api.github.com/users/jsimsa/received_events","type":"User","site_admin":false},"body":"this comment seems redundant","created_at":"2015-09-06T17:34:48Z","updated_at":"2015-09-06T17:34:48Z","html_url":"https://github.com/amplab/tachyon/pull/1475#discussion_r38823848","pull_request_url":"https://api.github.com/repos/amplab/tachyon/pulls/1475","_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments/38823848"},"html":{"href":"https://github.com/amplab/tachyon/pull/1475#discussion_r38823848"},"pull_request":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1475"}}},"pull_request":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/1475","id":44263041,"html_url":"https://github.com/amplab/tachyon/pull/1475","diff_url":"https://github.com/amplab/tachyon/pull/1475.diff","patch_url":"https://github.com/amplab/tachyon/pull/1475.patch","issue_url":"https://api.github.com/repos/amplab/tachyon/issues/1475","number":1475,"state":"open","locked":false,"title":"[WIP] Common and Master Changes for #1464","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":"This is a subset of #1464 with all the integration tests and client changes reverted. This branch should only be used to review and should not be merged. Changes should be directed to the original wip branch and will be merged into this branch.","created_at":"2015-09-04T21:25:21Z","updated_at":"2015-09-06T17:34:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38e7d7e126d21323fd7ffce47559d7afec1d489b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplab/tachyon/pulls/1475/commits","review_comments_url":"https://api.github.com/repos/amplab/tachyon/pulls/1475/comments","review_comment_url":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplab/tachyon/issues/1475/comments","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/5c4d1e92f3bc4e29a73ef90931bc50a359ad06f6","head":{"label":"amplab:wip_master_client_review_1","ref":"wip_master_client_review_1","sha":"5c4d1e92f3bc4e29a73ef90931bc50a359ad06f6","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":"Memory Centric Reliable Distributed Storage","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-09-06T14:10:28Z","pushed_at":"2015-09-06T17:20:15Z","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":44632,"stargazers_count":1556,"watchers_count":1556,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":606,"mirror_url":null,"open_issues_count":42,"forks":606,"open_issues":42,"watchers":1556,"default_branch":"master"}},"base":{"label":"amplab:master","ref":"master","sha":"98dd5f80166a458a4f421eee653da9f9b93684a7","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":"Memory Centric Reliable Distributed Storage","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-09-06T14:10:28Z","pushed_at":"2015-09-06T17:20:15Z","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":44632,"stargazers_count":1556,"watchers_count":1556,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":606,"mirror_url":null,"open_issues_count":42,"forks":606,"open_issues":42,"watchers":1556,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1475"},"html":{"href":"https://github.com/amplab/tachyon/pull/1475"},"issue":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1475"},"comments":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1475/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1475/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1475/commits"},"statuses":{"href":"https://api.github.com/repos/amplab/tachyon/statuses/5c4d1e92f3bc4e29a73ef90931bc50a359ad06f6"}}}}