{"action":"closed","number":208,"pull_request":{"url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/208","id":40863801,"html_url":"https://github.com/bloomberg/chef-bach/pull/208","diff_url":"https://github.com/bloomberg/chef-bach/pull/208.diff","patch_url":"https://github.com/bloomberg/chef-bach/pull/208.patch","issue_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/208","number":208,"state":"closed","locked":false,"title":"Ensure hdfs and yarn users are in appropriate hdfs and hadoop groups","user":{"login":"cbaenziger","id":4192761,"avatar_url":"https://avatars.githubusercontent.com/u/4192761?v=3","gravatar_id":"","url":"https://api.github.com/users/cbaenziger","html_url":"https://github.com/cbaenziger","followers_url":"https://api.github.com/users/cbaenziger/followers","following_url":"https://api.github.com/users/cbaenziger/following{/other_user}","gists_url":"https://api.github.com/users/cbaenziger/gists{/gist_id}","starred_url":"https://api.github.com/users/cbaenziger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbaenziger/subscriptions","organizations_url":"https://api.github.com/users/cbaenziger/orgs","repos_url":"https://api.github.com/users/cbaenziger/repos","events_url":"https://api.github.com/users/cbaenziger/events{/privacy}","received_events_url":"https://api.github.com/users/cbaenziger/received_events","type":"User","site_admin":false},"body":"This provides group membership for machines which already have hdfs and yarn users but not th necessary group membership for proper cluster operation.\r\n\r\n**HDFS**: Needs to be in group hadoop (for proper updating of /var/log/); and should be in its self-named group for sanity's safe\r\n**YARN**: Needs to be in group hadoop (for proper operation of the Linux Container Executor)\r\n\r\nIf one does not have this patch, one will see the datanode fail to start with errors in `/var/log/hadoop-hdfs/jsvc.err` like:\r\n````\r\nInitializing secure datanode resources\r\nlog4j:ERROR setFile(null,true) call failed.\r\njava.io.FileNotFoundException: /var/log/hadoop-hdfs/hadoop-hdfs-datanode-hostname.log (Permission denied)\r\n[...]\r\nOpened info server at hostname/1.2.3.4:1006\r\nStarting regular datanode initialization\r\nService exit with a return value of 1\r\n````","created_at":"2015-07-27T01:13:55Z","updated_at":"2015-09-18T13:10:18Z","closed_at":"2015-09-18T13:10:18Z","merged_at":"2015-09-18T13:10:18Z","merge_commit_sha":"40dc1477cc90705f449288e46bffac34283d9a3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/208/commits","review_comments_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/208/comments","review_comment_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/208/comments","statuses_url":"https://api.github.com/repos/bloomberg/chef-bach/statuses/4eca011e29c522e3365582b582637df77a7fa375","head":{"label":"cbaenziger:group_verification","ref":"group_verification","sha":"4eca011e29c522e3365582b582637df77a7fa375","user":{"login":"cbaenziger","id":4192761,"avatar_url":"https://avatars.githubusercontent.com/u/4192761?v=3","gravatar_id":"","url":"https://api.github.com/users/cbaenziger","html_url":"https://github.com/cbaenziger","followers_url":"https://api.github.com/users/cbaenziger/followers","following_url":"https://api.github.com/users/cbaenziger/following{/other_user}","gists_url":"https://api.github.com/users/cbaenziger/gists{/gist_id}","starred_url":"https://api.github.com/users/cbaenziger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbaenziger/subscriptions","organizations_url":"https://api.github.com/users/cbaenziger/orgs","repos_url":"https://api.github.com/users/cbaenziger/repos","events_url":"https://api.github.com/users/cbaenziger/events{/privacy}","received_events_url":"https://api.github.com/users/cbaenziger/received_events","type":"User","site_admin":false},"repo":{"id":25824446,"name":"chef-bach","full_name":"cbaenziger/chef-bach","owner":{"login":"cbaenziger","id":4192761,"avatar_url":"https://avatars.githubusercontent.com/u/4192761?v=3","gravatar_id":"","url":"https://api.github.com/users/cbaenziger","html_url":"https://github.com/cbaenziger","followers_url":"https://api.github.com/users/cbaenziger/followers","following_url":"https://api.github.com/users/cbaenziger/following{/other_user}","gists_url":"https://api.github.com/users/cbaenziger/gists{/gist_id}","starred_url":"https://api.github.com/users/cbaenziger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbaenziger/subscriptions","organizations_url":"https://api.github.com/users/cbaenziger/orgs","repos_url":"https://api.github.com/users/cbaenziger/repos","events_url":"https://api.github.com/users/cbaenziger/events{/privacy}","received_events_url":"https://api.github.com/users/cbaenziger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbaenziger/chef-bach","description":"Chef recipes for Bloomberg's deployment of Hadoop and related components","fork":true,"url":"https://api.github.com/repos/cbaenziger/chef-bach","forks_url":"https://api.github.com/repos/cbaenziger/chef-bach/forks","keys_url":"https://api.github.com/repos/cbaenziger/chef-bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbaenziger/chef-bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbaenziger/chef-bach/teams","hooks_url":"https://api.github.com/repos/cbaenziger/chef-bach/hooks","issue_events_url":"https://api.github.com/repos/cbaenziger/chef-bach/issues/events{/number}","events_url":"https://api.github.com/repos/cbaenziger/chef-bach/events","assignees_url":"https://api.github.com/repos/cbaenziger/chef-bach/assignees{/user}","branches_url":"https://api.github.com/repos/cbaenziger/chef-bach/branches{/branch}","tags_url":"https://api.github.com/repos/cbaenziger/chef-bach/tags","blobs_url":"https://api.github.com/repos/cbaenziger/chef-bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbaenziger/chef-bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbaenziger/chef-bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbaenziger/chef-bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbaenziger/chef-bach/statuses/{sha}","languages_url":"https://api.github.com/repos/cbaenziger/chef-bach/languages","stargazers_url":"https://api.github.com/repos/cbaenziger/chef-bach/stargazers","contributors_url":"https://api.github.com/repos/cbaenziger/chef-bach/contributors","subscribers_url":"https://api.github.com/repos/cbaenziger/chef-bach/subscribers","subscription_url":"https://api.github.com/repos/cbaenziger/chef-bach/subscription","commits_url":"https://api.github.com/repos/cbaenziger/chef-bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbaenziger/chef-bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbaenziger/chef-bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbaenziger/chef-bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbaenziger/chef-bach/contents/{+path}","compare_url":"https://api.github.com/repos/cbaenziger/chef-bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbaenziger/chef-bach/merges","archive_url":"https://api.github.com/repos/cbaenziger/chef-bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbaenziger/chef-bach/downloads","issues_url":"https://api.github.com/repos/cbaenziger/chef-bach/issues{/number}","pulls_url":"https://api.github.com/repos/cbaenziger/chef-bach/pulls{/number}","milestones_url":"https://api.github.com/repos/cbaenziger/chef-bach/milestones{/number}","notifications_url":"https://api.github.com/repos/cbaenziger/chef-bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbaenziger/chef-bach/labels{/name}","releases_url":"https://api.github.com/repos/cbaenziger/chef-bach/releases{/id}","created_at":"2014-10-27T15:02:22Z","updated_at":"2015-04-12T23:24:06Z","pushed_at":"2015-09-18T03:42:35Z","git_url":"git://github.com/cbaenziger/chef-bach.git","ssh_url":"git@github.com:cbaenziger/chef-bach.git","clone_url":"https://github.com/cbaenziger/chef-bach.git","svn_url":"https://github.com/cbaenziger/chef-bach","homepage":null,"size":2795,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"bloomberg:master","ref":"master","sha":"b427b3997193465a701cdea3ebd384ff5d53a24f","user":{"login":"bloomberg","id":1416818,"avatar_url":"https://avatars.githubusercontent.com/u/1416818?v=3","gravatar_id":"","url":"https://api.github.com/users/bloomberg","html_url":"https://github.com/bloomberg","followers_url":"https://api.github.com/users/bloomberg/followers","following_url":"https://api.github.com/users/bloomberg/following{/other_user}","gists_url":"https://api.github.com/users/bloomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bloomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloomberg/subscriptions","organizations_url":"https://api.github.com/users/bloomberg/orgs","repos_url":"https://api.github.com/users/bloomberg/repos","events_url":"https://api.github.com/users/bloomberg/events{/privacy}","received_events_url":"https://api.github.com/users/bloomberg/received_events","type":"Organization","site_admin":false},"repo":{"id":24933148,"name":"chef-bach","full_name":"bloomberg/chef-bach","owner":{"login":"bloomberg","id":1416818,"avatar_url":"https://avatars.githubusercontent.com/u/1416818?v=3","gravatar_id":"","url":"https://api.github.com/users/bloomberg","html_url":"https://github.com/bloomberg","followers_url":"https://api.github.com/users/bloomberg/followers","following_url":"https://api.github.com/users/bloomberg/following{/other_user}","gists_url":"https://api.github.com/users/bloomberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bloomberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bloomberg/subscriptions","organizations_url":"https://api.github.com/users/bloomberg/orgs","repos_url":"https://api.github.com/users/bloomberg/repos","events_url":"https://api.github.com/users/bloomberg/events{/privacy}","received_events_url":"https://api.github.com/users/bloomberg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bloomberg/chef-bach","description":"Chef recipes for Bloomberg's deployment of Hadoop and related components","fork":false,"url":"https://api.github.com/repos/bloomberg/chef-bach","forks_url":"https://api.github.com/repos/bloomberg/chef-bach/forks","keys_url":"https://api.github.com/repos/bloomberg/chef-bach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bloomberg/chef-bach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bloomberg/chef-bach/teams","hooks_url":"https://api.github.com/repos/bloomberg/chef-bach/hooks","issue_events_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/events{/number}","events_url":"https://api.github.com/repos/bloomberg/chef-bach/events","assignees_url":"https://api.github.com/repos/bloomberg/chef-bach/assignees{/user}","branches_url":"https://api.github.com/repos/bloomberg/chef-bach/branches{/branch}","tags_url":"https://api.github.com/repos/bloomberg/chef-bach/tags","blobs_url":"https://api.github.com/repos/bloomberg/chef-bach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bloomberg/chef-bach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bloomberg/chef-bach/git/refs{/sha}","trees_url":"https://api.github.com/repos/bloomberg/chef-bach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bloomberg/chef-bach/statuses/{sha}","languages_url":"https://api.github.com/repos/bloomberg/chef-bach/languages","stargazers_url":"https://api.github.com/repos/bloomberg/chef-bach/stargazers","contributors_url":"https://api.github.com/repos/bloomberg/chef-bach/contributors","subscribers_url":"https://api.github.com/repos/bloomberg/chef-bach/subscribers","subscription_url":"https://api.github.com/repos/bloomberg/chef-bach/subscription","commits_url":"https://api.github.com/repos/bloomberg/chef-bach/commits{/sha}","git_commits_url":"https://api.github.com/repos/bloomberg/chef-bach/git/commits{/sha}","comments_url":"https://api.github.com/repos/bloomberg/chef-bach/comments{/number}","issue_comment_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/comments{/number}","contents_url":"https://api.github.com/repos/bloomberg/chef-bach/contents/{+path}","compare_url":"https://api.github.com/repos/bloomberg/chef-bach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bloomberg/chef-bach/merges","archive_url":"https://api.github.com/repos/bloomberg/chef-bach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bloomberg/chef-bach/downloads","issues_url":"https://api.github.com/repos/bloomberg/chef-bach/issues{/number}","pulls_url":"https://api.github.com/repos/bloomberg/chef-bach/pulls{/number}","milestones_url":"https://api.github.com/repos/bloomberg/chef-bach/milestones{/number}","notifications_url":"https://api.github.com/repos/bloomberg/chef-bach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bloomberg/chef-bach/labels{/name}","releases_url":"https://api.github.com/repos/bloomberg/chef-bach/releases{/id}","created_at":"2014-10-08T09:16:26Z","updated_at":"2015-09-15T18:45:51Z","pushed_at":"2015-09-18T13:10:18Z","git_url":"git://github.com/bloomberg/chef-bach.git","ssh_url":"git@github.com:bloomberg/chef-bach.git","clone_url":"https://github.com/bloomberg/chef-bach.git","svn_url":"https://github.com/bloomberg/chef-bach","homepage":null,"size":5574,"stargazers_count":18,"watchers_count":18,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":83,"forks":13,"open_issues":83,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/208"},"html":{"href":"https://github.com/bloomberg/chef-bach/pull/208"},"issue":{"href":"https://api.github.com/repos/bloomberg/chef-bach/issues/208"},"comments":{"href":"https://api.github.com/repos/bloomberg/chef-bach/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bloomberg/chef-bach/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/bloomberg/chef-bach/statuses/4eca011e29c522e3365582b582637df77a7fa375"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"amithkanand","id":6287145,"avatar_url":"https://avatars.githubusercontent.com/u/6287145?v=3","gravatar_id":"","url":"https://api.github.com/users/amithkanand","html_url":"https://github.com/amithkanand","followers_url":"https://api.github.com/users/amithkanand/followers","following_url":"https://api.github.com/users/amithkanand/following{/other_user}","gists_url":"https://api.github.com/users/amithkanand/gists{/gist_id}","starred_url":"https://api.github.com/users/amithkanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amithkanand/subscriptions","organizations_url":"https://api.github.com/users/amithkanand/orgs","repos_url":"https://api.github.com/users/amithkanand/repos","events_url":"https://api.github.com/users/amithkanand/events{/privacy}","received_events_url":"https://api.github.com/users/amithkanand/received_events","type":"User","site_admin":false},"comments":3,"review_comments":5,"commits":3,"additions":117,"deletions":0,"changed_files":7}}