{"action":"created","comment":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/91638590","pull_request_review_id":12149472,"id":91638590,"diff_hunk":"@@ -248,6 +285,14 @@ public void getStatus() throws Exception {\n     return conf;\n   }\n \n+  private void mockFileSystemContextAndMasterClient() {\n+    mMockFileSystemContext = PowerMockito.mock(FileSystemContext.class);","path":"core/client/src/test/java/alluxio/hadoop/AbstractFileSystemTest.java","position":137,"original_position":137,"commit_id":"24c129c0d97a020dfc9eec818bf2e592cdc35904","original_commit_id":"24c129c0d97a020dfc9eec818bf2e592cdc35904","user":{"login":"uronce-cc","id":3663941,"avatar_url":"https://avatars.githubusercontent.com/u/3663941?v=3","gravatar_id":"","url":"https://api.github.com/users/uronce-cc","html_url":"https://github.com/uronce-cc","followers_url":"https://api.github.com/users/uronce-cc/followers","following_url":"https://api.github.com/users/uronce-cc/following{/other_user}","gists_url":"https://api.github.com/users/uronce-cc/gists{/gist_id}","starred_url":"https://api.github.com/users/uronce-cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uronce-cc/subscriptions","organizations_url":"https://api.github.com/users/uronce-cc/orgs","repos_url":"https://api.github.com/users/uronce-cc/repos","events_url":"https://api.github.com/users/uronce-cc/events{/privacy}","received_events_url":"https://api.github.com/users/uronce-cc/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-12-09T00:33:19Z","updated_at":"2016-12-09T00:33:19Z","html_url":"https://github.com/Alluxio/alluxio/pull/4422#discussion_r91638590","pull_request_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422","_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/91638590"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/4422#discussion_r91638590"},"pull_request":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422"}}},"pull_request":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422","id":97051751,"html_url":"https://github.com/Alluxio/alluxio/pull/4422","diff_url":"https://github.com/Alluxio/alluxio/pull/4422.diff","patch_url":"https://github.com/Alluxio/alluxio/pull/4422.patch","issue_url":"https://api.github.com/repos/Alluxio/alluxio/issues/4422","number":4422,"state":"open","locked":false,"title":"[ALLUXIO-2021] Validate master address during initializing hadoop client.","user":{"login":"uronce-cc","id":3663941,"avatar_url":"https://avatars.githubusercontent.com/u/3663941?v=3","gravatar_id":"","url":"https://api.github.com/users/uronce-cc","html_url":"https://github.com/uronce-cc","followers_url":"https://api.github.com/users/uronce-cc/followers","following_url":"https://api.github.com/users/uronce-cc/following{/other_user}","gists_url":"https://api.github.com/users/uronce-cc/gists{/gist_id}","starred_url":"https://api.github.com/users/uronce-cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uronce-cc/subscriptions","organizations_url":"https://api.github.com/users/uronce-cc/orgs","repos_url":"https://api.github.com/users/uronce-cc/repos","events_url":"https://api.github.com/users/uronce-cc/events{/privacy}","received_events_url":"https://api.github.com/users/uronce-cc/received_events","type":"User","site_admin":false},"body":"https://alluxio.atlassian.net/browse/ALLUXIO-2021\r\n\r\nCurrently, the first master address user provided will be used to initialize the global client context, but if the address is wrong, the user has to restart the client JVM to reset a master address.\r\n\r\nThis PR validates the master address when initializing the hadoop compatible file system API by trying to connect to master RPC port, connection failure causes client initialization failure, so that a new master address can be set. Once a valid master address is set, further initialization with a different master address will fail.\r\n","created_at":"2016-12-08T03:11:55Z","updated_at":"2016-12-09T00:33:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c9483cc410fc9bedb5fb615d5e4ad2eb9e0e3c3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422/commits","review_comments_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422/comments","review_comment_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/issues/4422/comments","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/24c129c0d97a020dfc9eec818bf2e592cdc35904","head":{"label":"uronce-cc:cc-ALLUXIO-2120-1","ref":"cc-ALLUXIO-2120-1","sha":"24c129c0d97a020dfc9eec818bf2e592cdc35904","user":{"login":"uronce-cc","id":3663941,"avatar_url":"https://avatars.githubusercontent.com/u/3663941?v=3","gravatar_id":"","url":"https://api.github.com/users/uronce-cc","html_url":"https://github.com/uronce-cc","followers_url":"https://api.github.com/users/uronce-cc/followers","following_url":"https://api.github.com/users/uronce-cc/following{/other_user}","gists_url":"https://api.github.com/users/uronce-cc/gists{/gist_id}","starred_url":"https://api.github.com/users/uronce-cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uronce-cc/subscriptions","organizations_url":"https://api.github.com/users/uronce-cc/orgs","repos_url":"https://api.github.com/users/uronce-cc/repos","events_url":"https://api.github.com/users/uronce-cc/events{/privacy}","received_events_url":"https://api.github.com/users/uronce-cc/received_events","type":"User","site_admin":false},"repo":{"id":52493150,"name":"alluxio","full_name":"uronce-cc/alluxio","owner":{"login":"uronce-cc","id":3663941,"avatar_url":"https://avatars.githubusercontent.com/u/3663941?v=3","gravatar_id":"","url":"https://api.github.com/users/uronce-cc","html_url":"https://github.com/uronce-cc","followers_url":"https://api.github.com/users/uronce-cc/followers","following_url":"https://api.github.com/users/uronce-cc/following{/other_user}","gists_url":"https://api.github.com/users/uronce-cc/gists{/gist_id}","starred_url":"https://api.github.com/users/uronce-cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uronce-cc/subscriptions","organizations_url":"https://api.github.com/users/uronce-cc/orgs","repos_url":"https://api.github.com/users/uronce-cc/repos","events_url":"https://api.github.com/users/uronce-cc/events{/privacy}","received_events_url":"https://api.github.com/users/uronce-cc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uronce-cc/alluxio","description":"Memory-Centric Virtual Distributed Storage System","fork":true,"url":"https://api.github.com/repos/uronce-cc/alluxio","forks_url":"https://api.github.com/repos/uronce-cc/alluxio/forks","keys_url":"https://api.github.com/repos/uronce-cc/alluxio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uronce-cc/alluxio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uronce-cc/alluxio/teams","hooks_url":"https://api.github.com/repos/uronce-cc/alluxio/hooks","issue_events_url":"https://api.github.com/repos/uronce-cc/alluxio/issues/events{/number}","events_url":"https://api.github.com/repos/uronce-cc/alluxio/events","assignees_url":"https://api.github.com/repos/uronce-cc/alluxio/assignees{/user}","branches_url":"https://api.github.com/repos/uronce-cc/alluxio/branches{/branch}","tags_url":"https://api.github.com/repos/uronce-cc/alluxio/tags","blobs_url":"https://api.github.com/repos/uronce-cc/alluxio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uronce-cc/alluxio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uronce-cc/alluxio/git/refs{/sha}","trees_url":"https://api.github.com/repos/uronce-cc/alluxio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uronce-cc/alluxio/statuses/{sha}","languages_url":"https://api.github.com/repos/uronce-cc/alluxio/languages","stargazers_url":"https://api.github.com/repos/uronce-cc/alluxio/stargazers","contributors_url":"https://api.github.com/repos/uronce-cc/alluxio/contributors","subscribers_url":"https://api.github.com/repos/uronce-cc/alluxio/subscribers","subscription_url":"https://api.github.com/repos/uronce-cc/alluxio/subscription","commits_url":"https://api.github.com/repos/uronce-cc/alluxio/commits{/sha}","git_commits_url":"https://api.github.com/repos/uronce-cc/alluxio/git/commits{/sha}","comments_url":"https://api.github.com/repos/uronce-cc/alluxio/comments{/number}","issue_comment_url":"https://api.github.com/repos/uronce-cc/alluxio/issues/comments{/number}","contents_url":"https://api.github.com/repos/uronce-cc/alluxio/contents/{+path}","compare_url":"https://api.github.com/repos/uronce-cc/alluxio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uronce-cc/alluxio/merges","archive_url":"https://api.github.com/repos/uronce-cc/alluxio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uronce-cc/alluxio/downloads","issues_url":"https://api.github.com/repos/uronce-cc/alluxio/issues{/number}","pulls_url":"https://api.github.com/repos/uronce-cc/alluxio/pulls{/number}","milestones_url":"https://api.github.com/repos/uronce-cc/alluxio/milestones{/number}","notifications_url":"https://api.github.com/repos/uronce-cc/alluxio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uronce-cc/alluxio/labels{/name}","releases_url":"https://api.github.com/repos/uronce-cc/alluxio/releases{/id}","deployments_url":"https://api.github.com/repos/uronce-cc/alluxio/deployments","created_at":"2016-02-25T03:13:56Z","updated_at":"2016-02-25T03:14:00Z","pushed_at":"2016-12-08T03:06:42Z","git_url":"git://github.com/uronce-cc/alluxio.git","ssh_url":"git@github.com:uronce-cc/alluxio.git","clone_url":"https://github.com/uronce-cc/alluxio.git","svn_url":"https://github.com/uronce-cc/alluxio","homepage":"http://www.alluxio.org/","size":64358,"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":"4e5d5a9a5ba2a4978bece50e486657438da744aa","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, A Virtual Distributed Storage 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":"2016-12-08T07:13:01Z","pushed_at":"2016-12-08T18:54:53Z","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":100687,"stargazers_count":2756,"watchers_count":2756,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1247,"mirror_url":null,"open_issues_count":22,"forks":1247,"open_issues":22,"watchers":2756,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/4422"},"issue":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/4422"},"comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/4422/comments"},"review_comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422/comments"},"review_comment":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4422/commits"},"statuses":{"href":"https://api.github.com/repos/Alluxio/alluxio/statuses/24c129c0d97a020dfc9eec818bf2e592cdc35904"}}}}
{"actor":{"display_login":"uronce-cc"}}