{"action":"created","comment":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/102162666","pull_request_review_id":22908869,"id":102162666,"diff_hunk":"@@ -54,5 +57,14 @@ public void inconsistent() throws Exception {\n     expected.append(\"/testRoot/testDir\\n\");\n     expected.append(\"/testRoot/testDir/testFileB\\n\");\n     Assert.assertEquals(expected.toString(), mOutput.toString());\n+\n+    mOutput.reset();\n+    mFsShell.run(\"checkConsistency\", \"-r\", \"/testRoot\");\n+    String res = mOutput.toString();\n+    Assert.assertTrue(res.contains(\"/testRoot\" + \" have: \" + \"2 files inconsistent.\\n\")\n+        && res.contains(\"repairing path: \" + \"/testRoot/testDir\\n\")\n+        && res.contains(\"repairing path: \" + \"/testRoot/testDir/testFileB\\n\"));\n+    Assert.assertTrue(!mFileSystem.exists(new AlluxioURI(\"/testRoot/testDir\")));\n+    Assert.assertTrue(!mFileSystem.exists(new AlluxioURI(\"/testRoot/testDir/testFileB\")));","path":"tests/src/test/java/alluxio/shell/command/CheckConsistencyCommandTest.java","position":null,"original_position":22,"commit_id":"75d05b32a4dd6c36c829fd766353bc6082750459","original_commit_id":"ea2a3296ff01c387853cbff857c22b9f9a9168af","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":"Got it, could you add a test for it being modified (ie size changed)?","created_at":"2017-02-21T09:24:39Z","updated_at":"2017-02-21T09:24:40Z","html_url":"https://github.com/Alluxio/alluxio/pull/4729#discussion_r102162666","pull_request_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729","_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/102162666"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/4729#discussion_r102162666"},"pull_request":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729"}}},"pull_request":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729","id":104725793,"html_url":"https://github.com/Alluxio/alluxio/pull/4729","diff_url":"https://github.com/Alluxio/alluxio/pull/4729.diff","patch_url":"https://github.com/Alluxio/alluxio/pull/4729.patch","issue_url":"https://api.github.com/repos/Alluxio/alluxio/issues/4729","number":4729,"state":"open","locked":false,"title":"[ALLUXIO-2520]Repair in consistency","user":{"login":"gjhkael","id":10809317,"avatar_url":"https://avatars.githubusercontent.com/u/10809317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjhkael","html_url":"https://github.com/gjhkael","followers_url":"https://api.github.com/users/gjhkael/followers","following_url":"https://api.github.com/users/gjhkael/following{/other_user}","gists_url":"https://api.github.com/users/gjhkael/gists{/gist_id}","starred_url":"https://api.github.com/users/gjhkael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjhkael/subscriptions","organizations_url":"https://api.github.com/users/gjhkael/orgs","repos_url":"https://api.github.com/users/gjhkael/repos","events_url":"https://api.github.com/users/gjhkael/events{/privacy}","received_events_url":"https://api.github.com/users/gjhkael/received_events","type":"User","site_admin":false},"body":"https://alluxio.atlassian.net/browse/ALLUXIO-2520","created_at":"2017-02-06T01:50:54Z","updated_at":"2017-02-21T09:24:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d40603570be59a952fa2d8f382240b9c9cf95fb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729/commits","review_comments_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729/comments","review_comment_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/issues/4729/comments","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/75d05b32a4dd6c36c829fd766353bc6082750459","head":{"label":"gjhkael:repairInConsistency","ref":"repairInConsistency","sha":"75d05b32a4dd6c36c829fd766353bc6082750459","user":{"login":"gjhkael","id":10809317,"avatar_url":"https://avatars.githubusercontent.com/u/10809317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjhkael","html_url":"https://github.com/gjhkael","followers_url":"https://api.github.com/users/gjhkael/followers","following_url":"https://api.github.com/users/gjhkael/following{/other_user}","gists_url":"https://api.github.com/users/gjhkael/gists{/gist_id}","starred_url":"https://api.github.com/users/gjhkael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjhkael/subscriptions","organizations_url":"https://api.github.com/users/gjhkael/orgs","repos_url":"https://api.github.com/users/gjhkael/repos","events_url":"https://api.github.com/users/gjhkael/events{/privacy}","received_events_url":"https://api.github.com/users/gjhkael/received_events","type":"User","site_admin":false},"repo":{"id":73160896,"name":"alluxio","full_name":"gjhkael/alluxio","owner":{"login":"gjhkael","id":10809317,"avatar_url":"https://avatars.githubusercontent.com/u/10809317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjhkael","html_url":"https://github.com/gjhkael","followers_url":"https://api.github.com/users/gjhkael/followers","following_url":"https://api.github.com/users/gjhkael/following{/other_user}","gists_url":"https://api.github.com/users/gjhkael/gists{/gist_id}","starred_url":"https://api.github.com/users/gjhkael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjhkael/subscriptions","organizations_url":"https://api.github.com/users/gjhkael/orgs","repos_url":"https://api.github.com/users/gjhkael/repos","events_url":"https://api.github.com/users/gjhkael/events{/privacy}","received_events_url":"https://api.github.com/users/gjhkael/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gjhkael/alluxio","description":"Alluxio, formerly Tachyon, Memory Speed Virtual Distributed Storage System","fork":true,"url":"https://api.github.com/repos/gjhkael/alluxio","forks_url":"https://api.github.com/repos/gjhkael/alluxio/forks","keys_url":"https://api.github.com/repos/gjhkael/alluxio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gjhkael/alluxio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gjhkael/alluxio/teams","hooks_url":"https://api.github.com/repos/gjhkael/alluxio/hooks","issue_events_url":"https://api.github.com/repos/gjhkael/alluxio/issues/events{/number}","events_url":"https://api.github.com/repos/gjhkael/alluxio/events","assignees_url":"https://api.github.com/repos/gjhkael/alluxio/assignees{/user}","branches_url":"https://api.github.com/repos/gjhkael/alluxio/branches{/branch}","tags_url":"https://api.github.com/repos/gjhkael/alluxio/tags","blobs_url":"https://api.github.com/repos/gjhkael/alluxio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gjhkael/alluxio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gjhkael/alluxio/git/refs{/sha}","trees_url":"https://api.github.com/repos/gjhkael/alluxio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gjhkael/alluxio/statuses/{sha}","languages_url":"https://api.github.com/repos/gjhkael/alluxio/languages","stargazers_url":"https://api.github.com/repos/gjhkael/alluxio/stargazers","contributors_url":"https://api.github.com/repos/gjhkael/alluxio/contributors","subscribers_url":"https://api.github.com/repos/gjhkael/alluxio/subscribers","subscription_url":"https://api.github.com/repos/gjhkael/alluxio/subscription","commits_url":"https://api.github.com/repos/gjhkael/alluxio/commits{/sha}","git_commits_url":"https://api.github.com/repos/gjhkael/alluxio/git/commits{/sha}","comments_url":"https://api.github.com/repos/gjhkael/alluxio/comments{/number}","issue_comment_url":"https://api.github.com/repos/gjhkael/alluxio/issues/comments{/number}","contents_url":"https://api.github.com/repos/gjhkael/alluxio/contents/{+path}","compare_url":"https://api.github.com/repos/gjhkael/alluxio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gjhkael/alluxio/merges","archive_url":"https://api.github.com/repos/gjhkael/alluxio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gjhkael/alluxio/downloads","issues_url":"https://api.github.com/repos/gjhkael/alluxio/issues{/number}","pulls_url":"https://api.github.com/repos/gjhkael/alluxio/pulls{/number}","milestones_url":"https://api.github.com/repos/gjhkael/alluxio/milestones{/number}","notifications_url":"https://api.github.com/repos/gjhkael/alluxio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gjhkael/alluxio/labels{/name}","releases_url":"https://api.github.com/repos/gjhkael/alluxio/releases{/id}","deployments_url":"https://api.github.com/repos/gjhkael/alluxio/deployments","created_at":"2016-11-08T07:33:26Z","updated_at":"2016-11-08T07:33:31Z","pushed_at":"2017-02-18T05:58:04Z","git_url":"git://github.com/gjhkael/alluxio.git","ssh_url":"git@github.com:gjhkael/alluxio.git","clone_url":"https://github.com/gjhkael/alluxio.git","svn_url":"https://github.com/gjhkael/alluxio","homepage":"http://www.alluxio.org/","size":65991,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Alluxio:master","ref":"master","sha":"d34ba13f76140b7dc0d3922f9e158631a6762935","user":{"login":"Alluxio","id":16203694,"avatar_url":"https://avatars.githubusercontent.com/u/16203694?v=3","gravatar_id":"","url":"https://api.github.com/users/Alluxio","html_url":"https://github.com/Alluxio","followers_url":"https://api.github.com/users/Alluxio/followers","following_url":"https://api.github.com/users/Alluxio/following{/other_user}","gists_url":"https://api.github.com/users/Alluxio/gists{/gist_id}","starred_url":"https://api.github.com/users/Alluxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alluxio/subscriptions","organizations_url":"https://api.github.com/users/Alluxio/orgs","repos_url":"https://api.github.com/users/Alluxio/repos","events_url":"https://api.github.com/users/Alluxio/events{/privacy}","received_events_url":"https://api.github.com/users/Alluxio/received_events","type":"Organization","site_admin":false},"repo":{"id":7276954,"name":"alluxio","full_name":"Alluxio/alluxio","owner":{"login":"Alluxio","id":16203694,"avatar_url":"https://avatars.githubusercontent.com/u/16203694?v=3","gravatar_id":"","url":"https://api.github.com/users/Alluxio","html_url":"https://github.com/Alluxio","followers_url":"https://api.github.com/users/Alluxio/followers","following_url":"https://api.github.com/users/Alluxio/following{/other_user}","gists_url":"https://api.github.com/users/Alluxio/gists{/gist_id}","starred_url":"https://api.github.com/users/Alluxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alluxio/subscriptions","organizations_url":"https://api.github.com/users/Alluxio/orgs","repos_url":"https://api.github.com/users/Alluxio/repos","events_url":"https://api.github.com/users/Alluxio/events{/privacy}","received_events_url":"https://api.github.com/users/Alluxio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alluxio/alluxio","description":"Alluxio, formerly Tachyon, Unify Data at Memory Speed","fork":false,"url":"https://api.github.com/repos/Alluxio/alluxio","forks_url":"https://api.github.com/repos/Alluxio/alluxio/forks","keys_url":"https://api.github.com/repos/Alluxio/alluxio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alluxio/alluxio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alluxio/alluxio/teams","hooks_url":"https://api.github.com/repos/Alluxio/alluxio/hooks","issue_events_url":"https://api.github.com/repos/Alluxio/alluxio/issues/events{/number}","events_url":"https://api.github.com/repos/Alluxio/alluxio/events","assignees_url":"https://api.github.com/repos/Alluxio/alluxio/assignees{/user}","branches_url":"https://api.github.com/repos/Alluxio/alluxio/branches{/branch}","tags_url":"https://api.github.com/repos/Alluxio/alluxio/tags","blobs_url":"https://api.github.com/repos/Alluxio/alluxio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alluxio/alluxio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alluxio/alluxio/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alluxio/alluxio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/{sha}","languages_url":"https://api.github.com/repos/Alluxio/alluxio/languages","stargazers_url":"https://api.github.com/repos/Alluxio/alluxio/stargazers","contributors_url":"https://api.github.com/repos/Alluxio/alluxio/contributors","subscribers_url":"https://api.github.com/repos/Alluxio/alluxio/subscribers","subscription_url":"https://api.github.com/repos/Alluxio/alluxio/subscription","commits_url":"https://api.github.com/repos/Alluxio/alluxio/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alluxio/alluxio/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alluxio/alluxio/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alluxio/alluxio/contents/{+path}","compare_url":"https://api.github.com/repos/Alluxio/alluxio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alluxio/alluxio/merges","archive_url":"https://api.github.com/repos/Alluxio/alluxio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alluxio/alluxio/downloads","issues_url":"https://api.github.com/repos/Alluxio/alluxio/issues{/number}","pulls_url":"https://api.github.com/repos/Alluxio/alluxio/pulls{/number}","milestones_url":"https://api.github.com/repos/Alluxio/alluxio/milestones{/number}","notifications_url":"https://api.github.com/repos/Alluxio/alluxio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alluxio/alluxio/labels{/name}","releases_url":"https://api.github.com/repos/Alluxio/alluxio/releases{/id}","deployments_url":"https://api.github.com/repos/Alluxio/alluxio/deployments","created_at":"2012-12-21T17:43:46Z","updated_at":"2017-02-21T03:04:50Z","pushed_at":"2017-02-21T07:58:36Z","git_url":"git://github.com/Alluxio/alluxio.git","ssh_url":"git@github.com:Alluxio/alluxio.git","clone_url":"https://github.com/Alluxio/alluxio.git","svn_url":"https://github.com/Alluxio/alluxio","homepage":"http://www.alluxio.org/","size":66049,"stargazers_count":2843,"watchers_count":2843,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1299,"mirror_url":null,"open_issues_count":28,"forks":1299,"open_issues":28,"watchers":2843,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/4729"},"issue":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/4729"},"comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/4729/comments"},"review_comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729/comments"},"review_comment":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4729/commits"},"statuses":{"href":"https://api.github.com/repos/Alluxio/alluxio/statuses/75d05b32a4dd6c36c829fd766353bc6082750459"}}}}
{"actor":{"display_login":"calvinjia"}}