{"action":"created","comment":{"url":"https://api.github.com/repos/prestodb/presto-yarn/pulls/comments/46671729","id":46671729,"diff_hunk":"@@ -117,7 +118,26 @@ public class PrerequisitesClusterFulfiller\n \n   private void restartResourceManager()\n   {\n-    runOnMaster([RESTART_RM_CMD])\n+    runOnMaster(['/etc/init.d/hadoop-yarn-resourcemanager restart'])\n+  }\n+\n+  private void setupCgroup()\n+  {\n+    runOnAll([\n+            'ls /cgroup || yum install -y libcgroup',","path":"presto-yarn-test/src/test/groovy/com/teradata/presto/yarn/fulfillment/PrerequisitesClusterFulfiller.groovy","position":71,"original_position":71,"commit_id":"28dfdf74b9c5c9226bdbdc421658bad5af06c0a0","original_commit_id":"28dfdf74b9c5c9226bdbdc421658bad5af06c0a0","user":{"login":"kokosing","id":7569403,"avatar_url":"https://avatars.githubusercontent.com/u/7569403?v=3","gravatar_id":"","url":"https://api.github.com/users/kokosing","html_url":"https://github.com/kokosing","followers_url":"https://api.github.com/users/kokosing/followers","following_url":"https://api.github.com/users/kokosing/following{/other_user}","gists_url":"https://api.github.com/users/kokosing/gists{/gist_id}","starred_url":"https://api.github.com/users/kokosing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokosing/subscriptions","organizations_url":"https://api.github.com/users/kokosing/orgs","repos_url":"https://api.github.com/users/kokosing/repos","events_url":"https://api.github.com/users/kokosing/events{/privacy}","received_events_url":"https://api.github.com/users/kokosing/received_events","type":"User","site_admin":false},"body":"see \r\n```\r\nset a password for yarn user on master node. In your src/test/resources/tempto-configuration-local.yaml yarn@master password and a private key to connect any cluster node as root user, example settings:\r\n```","created_at":"2015-12-04T11:13:25Z","updated_at":"2015-12-04T11:13:25Z","html_url":"https://github.com/prestodb/presto-yarn/pull/24#discussion_r46671729","pull_request_url":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/prestodb/presto-yarn/pulls/comments/46671729"},"html":{"href":"https://github.com/prestodb/presto-yarn/pull/24#discussion_r46671729"},"pull_request":{"href":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24","id":52564173,"html_url":"https://github.com/prestodb/presto-yarn/pull/24","diff_url":"https://github.com/prestodb/presto-yarn/pull/24.diff","patch_url":"https://github.com/prestodb/presto-yarn/pull/24.patch","issue_url":"https://api.github.com/repos/prestodb/presto-yarn/issues/24","number":24,"state":"open","locked":false,"title":"Test if cgroup configuration is propaged to cgroup","user":{"login":"kokosing","id":7569403,"avatar_url":"https://avatars.githubusercontent.com/u/7569403?v=3","gravatar_id":"","url":"https://api.github.com/users/kokosing","html_url":"https://github.com/kokosing","followers_url":"https://api.github.com/users/kokosing/followers","following_url":"https://api.github.com/users/kokosing/following{/other_user}","gists_url":"https://api.github.com/users/kokosing/gists{/gist_id}","starred_url":"https://api.github.com/users/kokosing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokosing/subscriptions","organizations_url":"https://api.github.com/users/kokosing/orgs","repos_url":"https://api.github.com/users/kokosing/repos","events_url":"https://api.github.com/users/kokosing/events{/privacy}","received_events_url":"https://api.github.com/users/kokosing/received_events","type":"User","site_admin":false},"body":"Test if cgroup configuration is propaged to cgroup\n\nSetup cluster to use cgroups and test if containers use cgroups\nproperly.\n\nReviewers: anu, losipiuk\nTask: SWARM-1724\n","created_at":"2015-12-03T17:17:29Z","updated_at":"2015-12-04T11:13:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d5d9afbb3f199bfb72f7ef9b350f07b1a8fa319","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24/commits","review_comments_url":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24/comments","review_comment_url":"https://api.github.com/repos/prestodb/presto-yarn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prestodb/presto-yarn/issues/24/comments","statuses_url":"https://api.github.com/repos/prestodb/presto-yarn/statuses/28dfdf74b9c5c9226bdbdc421658bad5af06c0a0","head":{"label":"prestodb:feature_cgroup","ref":"feature_cgroup","sha":"28dfdf74b9c5c9226bdbdc421658bad5af06c0a0","user":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"repo":{"id":42887203,"name":"presto-yarn","full_name":"prestodb/presto-yarn","owner":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prestodb/presto-yarn","description":"","fork":false,"url":"https://api.github.com/repos/prestodb/presto-yarn","forks_url":"https://api.github.com/repos/prestodb/presto-yarn/forks","keys_url":"https://api.github.com/repos/prestodb/presto-yarn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prestodb/presto-yarn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prestodb/presto-yarn/teams","hooks_url":"https://api.github.com/repos/prestodb/presto-yarn/hooks","issue_events_url":"https://api.github.com/repos/prestodb/presto-yarn/issues/events{/number}","events_url":"https://api.github.com/repos/prestodb/presto-yarn/events","assignees_url":"https://api.github.com/repos/prestodb/presto-yarn/assignees{/user}","branches_url":"https://api.github.com/repos/prestodb/presto-yarn/branches{/branch}","tags_url":"https://api.github.com/repos/prestodb/presto-yarn/tags","blobs_url":"https://api.github.com/repos/prestodb/presto-yarn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prestodb/presto-yarn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prestodb/presto-yarn/git/refs{/sha}","trees_url":"https://api.github.com/repos/prestodb/presto-yarn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prestodb/presto-yarn/statuses/{sha}","languages_url":"https://api.github.com/repos/prestodb/presto-yarn/languages","stargazers_url":"https://api.github.com/repos/prestodb/presto-yarn/stargazers","contributors_url":"https://api.github.com/repos/prestodb/presto-yarn/contributors","subscribers_url":"https://api.github.com/repos/prestodb/presto-yarn/subscribers","subscription_url":"https://api.github.com/repos/prestodb/presto-yarn/subscription","commits_url":"https://api.github.com/repos/prestodb/presto-yarn/commits{/sha}","git_commits_url":"https://api.github.com/repos/prestodb/presto-yarn/git/commits{/sha}","comments_url":"https://api.github.com/repos/prestodb/presto-yarn/comments{/number}","issue_comment_url":"https://api.github.com/repos/prestodb/presto-yarn/issues/comments{/number}","contents_url":"https://api.github.com/repos/prestodb/presto-yarn/contents/{+path}","compare_url":"https://api.github.com/repos/prestodb/presto-yarn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prestodb/presto-yarn/merges","archive_url":"https://api.github.com/repos/prestodb/presto-yarn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prestodb/presto-yarn/downloads","issues_url":"https://api.github.com/repos/prestodb/presto-yarn/issues{/number}","pulls_url":"https://api.github.com/repos/prestodb/presto-yarn/pulls{/number}","milestones_url":"https://api.github.com/repos/prestodb/presto-yarn/milestones{/number}","notifications_url":"https://api.github.com/repos/prestodb/presto-yarn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prestodb/presto-yarn/labels{/name}","releases_url":"https://api.github.com/repos/prestodb/presto-yarn/releases{/id}","created_at":"2015-09-21T18:55:00Z","updated_at":"2015-12-01T15:51:27Z","pushed_at":"2015-12-03T22:27:41Z","git_url":"git://github.com/prestodb/presto-yarn.git","ssh_url":"git@github.com:prestodb/presto-yarn.git","clone_url":"https://github.com/prestodb/presto-yarn.git","svn_url":"https://github.com/prestodb/presto-yarn","homepage":null,"size":43280,"stargazers_count":10,"watchers_count":10,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":10,"default_branch":"master"}},"base":{"label":"prestodb:master","ref":"master","sha":"ca94a68cc63e3f58a1c74b1c59a8546a14779b5f","user":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"repo":{"id":42887203,"name":"presto-yarn","full_name":"prestodb/presto-yarn","owner":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prestodb/presto-yarn","description":"","fork":false,"url":"https://api.github.com/repos/prestodb/presto-yarn","forks_url":"https://api.github.com/repos/prestodb/presto-yarn/forks","keys_url":"https://api.github.com/repos/prestodb/presto-yarn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prestodb/presto-yarn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prestodb/presto-yarn/teams","hooks_url":"https://api.github.com/repos/prestodb/presto-yarn/hooks","issue_events_url":"https://api.github.com/repos/prestodb/presto-yarn/issues/events{/number}","events_url":"https://api.github.com/repos/prestodb/presto-yarn/events","assignees_url":"https://api.github.com/repos/prestodb/presto-yarn/assignees{/user}","branches_url":"https://api.github.com/repos/prestodb/presto-yarn/branches{/branch}","tags_url":"https://api.github.com/repos/prestodb/presto-yarn/tags","blobs_url":"https://api.github.com/repos/prestodb/presto-yarn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prestodb/presto-yarn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prestodb/presto-yarn/git/refs{/sha}","trees_url":"https://api.github.com/repos/prestodb/presto-yarn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prestodb/presto-yarn/statuses/{sha}","languages_url":"https://api.github.com/repos/prestodb/presto-yarn/languages","stargazers_url":"https://api.github.com/repos/prestodb/presto-yarn/stargazers","contributors_url":"https://api.github.com/repos/prestodb/presto-yarn/contributors","subscribers_url":"https://api.github.com/repos/prestodb/presto-yarn/subscribers","subscription_url":"https://api.github.com/repos/prestodb/presto-yarn/subscription","commits_url":"https://api.github.com/repos/prestodb/presto-yarn/commits{/sha}","git_commits_url":"https://api.github.com/repos/prestodb/presto-yarn/git/commits{/sha}","comments_url":"https://api.github.com/repos/prestodb/presto-yarn/comments{/number}","issue_comment_url":"https://api.github.com/repos/prestodb/presto-yarn/issues/comments{/number}","contents_url":"https://api.github.com/repos/prestodb/presto-yarn/contents/{+path}","compare_url":"https://api.github.com/repos/prestodb/presto-yarn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prestodb/presto-yarn/merges","archive_url":"https://api.github.com/repos/prestodb/presto-yarn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prestodb/presto-yarn/downloads","issues_url":"https://api.github.com/repos/prestodb/presto-yarn/issues{/number}","pulls_url":"https://api.github.com/repos/prestodb/presto-yarn/pulls{/number}","milestones_url":"https://api.github.com/repos/prestodb/presto-yarn/milestones{/number}","notifications_url":"https://api.github.com/repos/prestodb/presto-yarn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prestodb/presto-yarn/labels{/name}","releases_url":"https://api.github.com/repos/prestodb/presto-yarn/releases{/id}","created_at":"2015-09-21T18:55:00Z","updated_at":"2015-12-01T15:51:27Z","pushed_at":"2015-12-03T22:27:41Z","git_url":"git://github.com/prestodb/presto-yarn.git","ssh_url":"git@github.com:prestodb/presto-yarn.git","clone_url":"https://github.com/prestodb/presto-yarn.git","svn_url":"https://github.com/prestodb/presto-yarn","homepage":null,"size":43280,"stargazers_count":10,"watchers_count":10,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24"},"html":{"href":"https://github.com/prestodb/presto-yarn/pull/24"},"issue":{"href":"https://api.github.com/repos/prestodb/presto-yarn/issues/24"},"comments":{"href":"https://api.github.com/repos/prestodb/presto-yarn/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/prestodb/presto-yarn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prestodb/presto-yarn/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/prestodb/presto-yarn/statuses/28dfdf74b9c5c9226bdbdc421658bad5af06c0a0"}}}}