{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/criteo-forks/spark/pulls/8","id":91091061,"html_url":"https://github.com/criteo-forks/spark/pull/8","diff_url":"https://github.com/criteo-forks/spark/pull/8.diff","patch_url":"https://github.com/criteo-forks/spark/pull/8.patch","issue_url":"https://api.github.com/repos/criteo-forks/spark/issues/8","number":8,"state":"open","locked":false,"title":"[SPARK-18119][SPARK-CORE] Namenode safemode check is only performed on one namenode which can stuck the startup of SparkHistory server","user":{"login":"ashangit","id":6404013,"avatar_url":"https://avatars.githubusercontent.com/u/6404013?v=3","gravatar_id":"","url":"https://api.github.com/users/ashangit","html_url":"https://github.com/ashangit","followers_url":"https://api.github.com/users/ashangit/followers","following_url":"https://api.github.com/users/ashangit/following{/other_user}","gists_url":"https://api.github.com/users/ashangit/gists{/gist_id}","starred_url":"https://api.github.com/users/ashangit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashangit/subscriptions","organizations_url":"https://api.github.com/users/ashangit/orgs","repos_url":"https://api.github.com/users/ashangit/repos","events_url":"https://api.github.com/users/ashangit/events{/privacy}","received_events_url":"https://api.github.com/users/ashangit/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nInstead of using the setSafeMode method that check the first namenode used the one which permitts to check only for active NNs\r\n\r\n\r\n## How was this patch tested?\r\n\r\nmanual tests\r\n\r\n(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)\r\n\r\nThis commit is contributed by Criteo SA under the Apache v2 licence.","created_at":"2016-10-26T21:21:49Z","updated_at":"2016-10-26T21:21:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/criteo-forks/spark/pulls/8/commits","review_comments_url":"https://api.github.com/repos/criteo-forks/spark/pulls/8/comments","review_comment_url":"https://api.github.com/repos/criteo-forks/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/criteo-forks/spark/issues/8/comments","statuses_url":"https://api.github.com/repos/criteo-forks/spark/statuses/e81c862981176e19d7000e4937097162e75d64e5","head":{"label":"ashangit:criteo-1.6","ref":"criteo-1.6","sha":"e81c862981176e19d7000e4937097162e75d64e5","user":{"login":"ashangit","id":6404013,"avatar_url":"https://avatars.githubusercontent.com/u/6404013?v=3","gravatar_id":"","url":"https://api.github.com/users/ashangit","html_url":"https://github.com/ashangit","followers_url":"https://api.github.com/users/ashangit/followers","following_url":"https://api.github.com/users/ashangit/following{/other_user}","gists_url":"https://api.github.com/users/ashangit/gists{/gist_id}","starred_url":"https://api.github.com/users/ashangit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashangit/subscriptions","organizations_url":"https://api.github.com/users/ashangit/orgs","repos_url":"https://api.github.com/users/ashangit/repos","events_url":"https://api.github.com/users/ashangit/events{/privacy}","received_events_url":"https://api.github.com/users/ashangit/received_events","type":"User","site_admin":false},"repo":{"id":43648562,"name":"spark","full_name":"ashangit/spark","owner":{"login":"ashangit","id":6404013,"avatar_url":"https://avatars.githubusercontent.com/u/6404013?v=3","gravatar_id":"","url":"https://api.github.com/users/ashangit","html_url":"https://github.com/ashangit","followers_url":"https://api.github.com/users/ashangit/followers","following_url":"https://api.github.com/users/ashangit/following{/other_user}","gists_url":"https://api.github.com/users/ashangit/gists{/gist_id}","starred_url":"https://api.github.com/users/ashangit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashangit/subscriptions","organizations_url":"https://api.github.com/users/ashangit/orgs","repos_url":"https://api.github.com/users/ashangit/repos","events_url":"https://api.github.com/users/ashangit/events{/privacy}","received_events_url":"https://api.github.com/users/ashangit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashangit/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/ashangit/spark","forks_url":"https://api.github.com/repos/ashangit/spark/forks","keys_url":"https://api.github.com/repos/ashangit/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashangit/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashangit/spark/teams","hooks_url":"https://api.github.com/repos/ashangit/spark/hooks","issue_events_url":"https://api.github.com/repos/ashangit/spark/issues/events{/number}","events_url":"https://api.github.com/repos/ashangit/spark/events","assignees_url":"https://api.github.com/repos/ashangit/spark/assignees{/user}","branches_url":"https://api.github.com/repos/ashangit/spark/branches{/branch}","tags_url":"https://api.github.com/repos/ashangit/spark/tags","blobs_url":"https://api.github.com/repos/ashangit/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashangit/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashangit/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashangit/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashangit/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/ashangit/spark/languages","stargazers_url":"https://api.github.com/repos/ashangit/spark/stargazers","contributors_url":"https://api.github.com/repos/ashangit/spark/contributors","subscribers_url":"https://api.github.com/repos/ashangit/spark/subscribers","subscription_url":"https://api.github.com/repos/ashangit/spark/subscription","commits_url":"https://api.github.com/repos/ashangit/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashangit/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashangit/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashangit/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashangit/spark/contents/{+path}","compare_url":"https://api.github.com/repos/ashangit/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashangit/spark/merges","archive_url":"https://api.github.com/repos/ashangit/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashangit/spark/downloads","issues_url":"https://api.github.com/repos/ashangit/spark/issues{/number}","pulls_url":"https://api.github.com/repos/ashangit/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/ashangit/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/ashangit/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashangit/spark/labels{/name}","releases_url":"https://api.github.com/repos/ashangit/spark/releases{/id}","deployments_url":"https://api.github.com/repos/ashangit/spark/deployments","created_at":"2015-10-04T19:00:25Z","updated_at":"2016-10-26T19:13:39Z","pushed_at":"2016-10-26T21:19:51Z","git_url":"git://github.com/ashangit/spark.git","ssh_url":"git@github.com:ashangit/spark.git","clone_url":"https://github.com/ashangit/spark.git","svn_url":"https://github.com/ashangit/spark","homepage":null,"size":242306,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"criteo-forks:criteo-1.6","ref":"criteo-1.6","sha":"ec566fa3ac375ae8b1b5a86181557cd7f747acec","user":{"login":"criteo-forks","id":9960514,"avatar_url":"https://avatars.githubusercontent.com/u/9960514?v=3","gravatar_id":"","url":"https://api.github.com/users/criteo-forks","html_url":"https://github.com/criteo-forks","followers_url":"https://api.github.com/users/criteo-forks/followers","following_url":"https://api.github.com/users/criteo-forks/following{/other_user}","gists_url":"https://api.github.com/users/criteo-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/criteo-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/criteo-forks/subscriptions","organizations_url":"https://api.github.com/users/criteo-forks/orgs","repos_url":"https://api.github.com/users/criteo-forks/repos","events_url":"https://api.github.com/users/criteo-forks/events{/privacy}","received_events_url":"https://api.github.com/users/criteo-forks/received_events","type":"Organization","site_admin":false},"repo":{"id":63715517,"name":"spark","full_name":"criteo-forks/spark","owner":{"login":"criteo-forks","id":9960514,"avatar_url":"https://avatars.githubusercontent.com/u/9960514?v=3","gravatar_id":"","url":"https://api.github.com/users/criteo-forks","html_url":"https://github.com/criteo-forks","followers_url":"https://api.github.com/users/criteo-forks/followers","following_url":"https://api.github.com/users/criteo-forks/following{/other_user}","gists_url":"https://api.github.com/users/criteo-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/criteo-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/criteo-forks/subscriptions","organizations_url":"https://api.github.com/users/criteo-forks/orgs","repos_url":"https://api.github.com/users/criteo-forks/repos","events_url":"https://api.github.com/users/criteo-forks/events{/privacy}","received_events_url":"https://api.github.com/users/criteo-forks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/criteo-forks/spark","description":"Mirror of Apache Spark forked from Apache","fork":true,"url":"https://api.github.com/repos/criteo-forks/spark","forks_url":"https://api.github.com/repos/criteo-forks/spark/forks","keys_url":"https://api.github.com/repos/criteo-forks/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/criteo-forks/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/criteo-forks/spark/teams","hooks_url":"https://api.github.com/repos/criteo-forks/spark/hooks","issue_events_url":"https://api.github.com/repos/criteo-forks/spark/issues/events{/number}","events_url":"https://api.github.com/repos/criteo-forks/spark/events","assignees_url":"https://api.github.com/repos/criteo-forks/spark/assignees{/user}","branches_url":"https://api.github.com/repos/criteo-forks/spark/branches{/branch}","tags_url":"https://api.github.com/repos/criteo-forks/spark/tags","blobs_url":"https://api.github.com/repos/criteo-forks/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/criteo-forks/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/criteo-forks/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/criteo-forks/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/criteo-forks/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/criteo-forks/spark/languages","stargazers_url":"https://api.github.com/repos/criteo-forks/spark/stargazers","contributors_url":"https://api.github.com/repos/criteo-forks/spark/contributors","subscribers_url":"https://api.github.com/repos/criteo-forks/spark/subscribers","subscription_url":"https://api.github.com/repos/criteo-forks/spark/subscription","commits_url":"https://api.github.com/repos/criteo-forks/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/criteo-forks/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/criteo-forks/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/criteo-forks/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/criteo-forks/spark/contents/{+path}","compare_url":"https://api.github.com/repos/criteo-forks/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/criteo-forks/spark/merges","archive_url":"https://api.github.com/repos/criteo-forks/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/criteo-forks/spark/downloads","issues_url":"https://api.github.com/repos/criteo-forks/spark/issues{/number}","pulls_url":"https://api.github.com/repos/criteo-forks/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/criteo-forks/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/criteo-forks/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/criteo-forks/spark/labels{/name}","releases_url":"https://api.github.com/repos/criteo-forks/spark/releases{/id}","deployments_url":"https://api.github.com/repos/criteo-forks/spark/deployments","created_at":"2016-07-19T17:47:09Z","updated_at":"2016-07-20T09:01:30Z","pushed_at":"2016-10-26T21:21:49Z","git_url":"git://github.com/criteo-forks/spark.git","ssh_url":"git@github.com:criteo-forks/spark.git","clone_url":"https://github.com/criteo-forks/spark.git","svn_url":"https://github.com/criteo-forks/spark","homepage":"","size":245537,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/criteo-forks/spark/pulls/8"},"html":{"href":"https://github.com/criteo-forks/spark/pull/8"},"issue":{"href":"https://api.github.com/repos/criteo-forks/spark/issues/8"},"comments":{"href":"https://api.github.com/repos/criteo-forks/spark/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/criteo-forks/spark/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/criteo-forks/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/criteo-forks/spark/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/criteo-forks/spark/statuses/e81c862981176e19d7000e4937097162e75d64e5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"ashangit"}}