{"action":"created","comment":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/comments/41064449","id":41064449,"diff_hunk":"@@ -126,6 +132,20 @@ public void free(TachyonFile file, FreeOptions options) throws IOException, Tach\n   }\n \n   /**\n+   * Convenience method for {@link #getInfo(TachyonFile, GetInfoOptions)} + {@link\n+   * FileInfo#isCompleted}\n+   * @param file the file whose completion status is to be queried\n+   * @param options {@link IsCompletedOptions} for the call\n+   * @return true if the last status known for the file on the master was \"completed\"\n+   * @throws IOException if a non-Tachyon exception occurs\n+   * @throws TachyonException if a Tachyon exception occurs\n+   */\n+  public boolean isCompleted(TachyonFile file, IsCompletedOptions options) throws IOException,\n+    TachyonException {\n+    return getInfo(file, GetInfoOptions.defaults()).isCompleted;\n+  }","path":"clients/unshaded/src/main/java/tachyon/client/file/AbstractTachyonFileSystem.java","position":49,"original_position":49,"commit_id":"d5650f4b59d494b0dae70f025d46e1362e8ca9e3","original_commit_id":"d5650f4b59d494b0dae70f025d46e1362e8ca9e3","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":"Since this is already available through `getInfo`, could we omit this method?","created_at":"2015-10-02T20:31:42Z","updated_at":"2015-10-02T20:31:42Z","html_url":"https://github.com/amplab/tachyon/pull/1683#discussion_r41064449","pull_request_url":"https://api.github.com/repos/amplab/tachyon/pulls/1683","_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments/41064449"},"html":{"href":"https://github.com/amplab/tachyon/pull/1683#discussion_r41064449"},"pull_request":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1683"}}},"pull_request":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/1683","id":46665622,"html_url":"https://github.com/amplab/tachyon/pull/1683","diff_url":"https://github.com/amplab/tachyon/pull/1683.diff","patch_url":"https://github.com/amplab/tachyon/pull/1683.patch","issue_url":"https://api.github.com/repos/amplab/tachyon/issues/1683","number":1683,"state":"open","locked":false,"title":"New waitCompleted(...) API to TachyonFileSystem","user":{"login":"andreareale","id":1241831,"avatar_url":"https://avatars.githubusercontent.com/u/1241831?v=3","gravatar_id":"","url":"https://api.github.com/users/andreareale","html_url":"https://github.com/andreareale","followers_url":"https://api.github.com/users/andreareale/followers","following_url":"https://api.github.com/users/andreareale/following{/other_user}","gists_url":"https://api.github.com/users/andreareale/gists{/gist_id}","starred_url":"https://api.github.com/users/andreareale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreareale/subscriptions","organizations_url":"https://api.github.com/users/andreareale/orgs","repos_url":"https://api.github.com/users/andreareale/repos","events_url":"https://api.github.com/users/andreareale/events{/privacy}","received_events_url":"https://api.github.com/users/andreareale/received_events","type":"User","site_admin":false},"body":"The new method should allow many  distributed clients to\r\nsynchronize on files of the File System.  This is expected to be\r\nuseful, for example, for a simple implementation of workflows that does\r\nnot rely on external worflow managers.","created_at":"2015-10-02T18:19:40Z","updated_at":"2015-10-02T20:31:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e13a8476e177fb69927dafa91e255fafe4613b0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplab/tachyon/pulls/1683/commits","review_comments_url":"https://api.github.com/repos/amplab/tachyon/pulls/1683/comments","review_comment_url":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplab/tachyon/issues/1683/comments","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/d5650f4b59d494b0dae70f025d46e1362e8ca9e3","head":{"label":"ibm-research-ireland:waitCompleted","ref":"waitCompleted","sha":"d5650f4b59d494b0dae70f025d46e1362e8ca9e3","user":{"login":"ibm-research-ireland","id":14938632,"avatar_url":"https://avatars.githubusercontent.com/u/14938632?v=3","gravatar_id":"","url":"https://api.github.com/users/ibm-research-ireland","html_url":"https://github.com/ibm-research-ireland","followers_url":"https://api.github.com/users/ibm-research-ireland/followers","following_url":"https://api.github.com/users/ibm-research-ireland/following{/other_user}","gists_url":"https://api.github.com/users/ibm-research-ireland/gists{/gist_id}","starred_url":"https://api.github.com/users/ibm-research-ireland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibm-research-ireland/subscriptions","organizations_url":"https://api.github.com/users/ibm-research-ireland/orgs","repos_url":"https://api.github.com/users/ibm-research-ireland/repos","events_url":"https://api.github.com/users/ibm-research-ireland/events{/privacy}","received_events_url":"https://api.github.com/users/ibm-research-ireland/received_events","type":"Organization","site_admin":false},"repo":{"id":43545414,"name":"tachyon","full_name":"ibm-research-ireland/tachyon","owner":{"login":"ibm-research-ireland","id":14938632,"avatar_url":"https://avatars.githubusercontent.com/u/14938632?v=3","gravatar_id":"","url":"https://api.github.com/users/ibm-research-ireland","html_url":"https://github.com/ibm-research-ireland","followers_url":"https://api.github.com/users/ibm-research-ireland/followers","following_url":"https://api.github.com/users/ibm-research-ireland/following{/other_user}","gists_url":"https://api.github.com/users/ibm-research-ireland/gists{/gist_id}","starred_url":"https://api.github.com/users/ibm-research-ireland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibm-research-ireland/subscriptions","organizations_url":"https://api.github.com/users/ibm-research-ireland/orgs","repos_url":"https://api.github.com/users/ibm-research-ireland/repos","events_url":"https://api.github.com/users/ibm-research-ireland/events{/privacy}","received_events_url":"https://api.github.com/users/ibm-research-ireland/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ibm-research-ireland/tachyon","description":"Memory Centric Reliable Distributed Storage","fork":true,"url":"https://api.github.com/repos/ibm-research-ireland/tachyon","forks_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/forks","keys_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/teams","hooks_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/hooks","issue_events_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/events","assignees_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/tags","blobs_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/languages","stargazers_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/stargazers","contributors_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/contributors","subscribers_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/subscribers","subscription_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/subscription","commits_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/merges","archive_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/downloads","issues_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/ibm-research-ireland/tachyon/releases{/id}","created_at":"2015-10-02T09:38:26Z","updated_at":"2015-10-02T09:43:51Z","pushed_at":"2015-10-02T18:18:02Z","git_url":"git://github.com/ibm-research-ireland/tachyon.git","ssh_url":"git@github.com:ibm-research-ireland/tachyon.git","clone_url":"https://github.com/ibm-research-ireland/tachyon.git","svn_url":"https://github.com/ibm-research-ireland/tachyon","homepage":"http://tachyon-project.org","size":52968,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"amplab:master","ref":"master","sha":"0cb076597ce3a1bc71210e69ef9f8a58d0d957cc","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-10-02T11:50:10Z","pushed_at":"2015-10-02T20:19:00Z","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":52968,"stargazers_count":1603,"watchers_count":1603,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":639,"mirror_url":null,"open_issues_count":31,"forks":639,"open_issues":31,"watchers":1603,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1683"},"html":{"href":"https://github.com/amplab/tachyon/pull/1683"},"issue":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1683"},"comments":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1683/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1683/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1683/commits"},"statuses":{"href":"https://api.github.com/repos/amplab/tachyon/statuses/d5650f4b59d494b0dae70f025d46e1362e8ca9e3"}}}}