{"action":"created","comment":{"url":"https://api.github.com/repos/ferustigris/hdp/pulls/comments/69519615","id":69519615,"diff_hunk":"@@ -1,10 +1,20 @@\n FROM centos:centos6\n WORKDIR /root\n+\n+#add ambari repo\n ADD http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.1.0/ambari.repo /etc/yum.repos.d/ambari.repo\n+\n+# copy ssh configs\n COPY ssh_config /etc/ssh/ssh_config \n COPY sshd_config /etc/ssh/sshd_config \n+\n+#install ssh and copy keys\n RUN yum install -y openssh-server \\\n  && ssh-keygen -t rsa  -N \"\" -f /root/.ssh/id_rsa \\\n  && cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys \\\n  && rpm --import http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins \n \n+#install services\n+RUN yum install -y openssh-clients","path":"hdp_base/Dockerfile","position":18,"original_position":18,"commit_id":"42d747a8888eb6ac50508e5e10f5c15fdf7f4f28","original_commit_id":"42d747a8888eb6ac50508e5e10f5c15fdf7f4f28","user":{"login":"ferustigris","id":3316337,"avatar_url":"https://avatars.githubusercontent.com/u/3316337?v=3","gravatar_id":"","url":"https://api.github.com/users/ferustigris","html_url":"https://github.com/ferustigris","followers_url":"https://api.github.com/users/ferustigris/followers","following_url":"https://api.github.com/users/ferustigris/following{/other_user}","gists_url":"https://api.github.com/users/ferustigris/gists{/gist_id}","starred_url":"https://api.github.com/users/ferustigris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferustigris/subscriptions","organizations_url":"https://api.github.com/users/ferustigris/orgs","repos_url":"https://api.github.com/users/ferustigris/repos","events_url":"https://api.github.com/users/ferustigris/events{/privacy}","received_events_url":"https://api.github.com/users/ferustigris/received_events","type":"User","site_admin":false},"body":"Why are there SEVERAL COMMANDS?","created_at":"2016-07-05T07:50:53Z","updated_at":"2016-07-05T07:50:53Z","html_url":"https://github.com/ferustigris/hdp/pull/3#discussion_r69519615","pull_request_url":"https://api.github.com/repos/ferustigris/hdp/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/ferustigris/hdp/pulls/comments/69519615"},"html":{"href":"https://github.com/ferustigris/hdp/pull/3#discussion_r69519615"},"pull_request":{"href":"https://api.github.com/repos/ferustigris/hdp/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/ferustigris/hdp/pulls/3","id":74650315,"html_url":"https://github.com/ferustigris/hdp/pull/3","diff_url":"https://github.com/ferustigris/hdp/pull/3.diff","patch_url":"https://github.com/ferustigris/hdp/pull/3.patch","issue_url":"https://api.github.com/repos/ferustigris/hdp/issues/3","number":3,"state":"closed","locked":false,"title":"some chenges","user":{"login":"yagoyagoyago","id":9715904,"avatar_url":"https://avatars.githubusercontent.com/u/9715904?v=3","gravatar_id":"","url":"https://api.github.com/users/yagoyagoyago","html_url":"https://github.com/yagoyagoyago","followers_url":"https://api.github.com/users/yagoyagoyago/followers","following_url":"https://api.github.com/users/yagoyagoyago/following{/other_user}","gists_url":"https://api.github.com/users/yagoyagoyago/gists{/gist_id}","starred_url":"https://api.github.com/users/yagoyagoyago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yagoyagoyago/subscriptions","organizations_url":"https://api.github.com/users/yagoyagoyago/orgs","repos_url":"https://api.github.com/users/yagoyagoyago/repos","events_url":"https://api.github.com/users/yagoyagoyago/events{/privacy}","received_events_url":"https://api.github.com/users/yagoyagoyago/received_events","type":"User","site_admin":false},"body":"How it works:\r\n1. Create 3 images: create_images.sh\r\n2. Create docker network for conteiners: create_network.sh\r\n3. Run conteiner witch anbary server: master.sh\r\n4. Run worker conteiner: worker.sh (you can run several worker conteiners)\r\n5. Use browser: http://<docker host>:8081\r\n6.  Install hadoop hosts use ssh key from conteiners: [root@master ~]# cat /root/.ssh/id_rsa\r\n\r\nmy example: http://eprutvet0005:8081/\r\n(admin/admin)\r\n\r\n","created_at":"2016-06-21T17:11:16Z","updated_at":"2016-07-05T07:50:53Z","closed_at":"2016-06-27T09:46:23Z","merged_at":"2016-06-27T09:46:22Z","merge_commit_sha":"aecd3f892ed1ea9481e44c9576c3030e83becdc5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ferustigris/hdp/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ferustigris/hdp/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ferustigris/hdp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ferustigris/hdp/issues/3/comments","statuses_url":"https://api.github.com/repos/ferustigris/hdp/statuses/42d747a8888eb6ac50508e5e10f5c15fdf7f4f28","head":{"label":"yagoyagoyago:master","ref":"master","sha":"42d747a8888eb6ac50508e5e10f5c15fdf7f4f28","user":{"login":"yagoyagoyago","id":9715904,"avatar_url":"https://avatars.githubusercontent.com/u/9715904?v=3","gravatar_id":"","url":"https://api.github.com/users/yagoyagoyago","html_url":"https://github.com/yagoyagoyago","followers_url":"https://api.github.com/users/yagoyagoyago/followers","following_url":"https://api.github.com/users/yagoyagoyago/following{/other_user}","gists_url":"https://api.github.com/users/yagoyagoyago/gists{/gist_id}","starred_url":"https://api.github.com/users/yagoyagoyago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yagoyagoyago/subscriptions","organizations_url":"https://api.github.com/users/yagoyagoyago/orgs","repos_url":"https://api.github.com/users/yagoyagoyago/repos","events_url":"https://api.github.com/users/yagoyagoyago/events{/privacy}","received_events_url":"https://api.github.com/users/yagoyagoyago/received_events","type":"User","site_admin":false},"repo":{"id":58143017,"name":"hdp","full_name":"yagoyagoyago/hdp","owner":{"login":"yagoyagoyago","id":9715904,"avatar_url":"https://avatars.githubusercontent.com/u/9715904?v=3","gravatar_id":"","url":"https://api.github.com/users/yagoyagoyago","html_url":"https://github.com/yagoyagoyago","followers_url":"https://api.github.com/users/yagoyagoyago/followers","following_url":"https://api.github.com/users/yagoyagoyago/following{/other_user}","gists_url":"https://api.github.com/users/yagoyagoyago/gists{/gist_id}","starred_url":"https://api.github.com/users/yagoyagoyago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yagoyagoyago/subscriptions","organizations_url":"https://api.github.com/users/yagoyagoyago/orgs","repos_url":"https://api.github.com/users/yagoyagoyago/repos","events_url":"https://api.github.com/users/yagoyagoyago/events{/privacy}","received_events_url":"https://api.github.com/users/yagoyagoyago/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yagoyagoyago/hdp","description":"Docker image for hadoop","fork":true,"url":"https://api.github.com/repos/yagoyagoyago/hdp","forks_url":"https://api.github.com/repos/yagoyagoyago/hdp/forks","keys_url":"https://api.github.com/repos/yagoyagoyago/hdp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yagoyagoyago/hdp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yagoyagoyago/hdp/teams","hooks_url":"https://api.github.com/repos/yagoyagoyago/hdp/hooks","issue_events_url":"https://api.github.com/repos/yagoyagoyago/hdp/issues/events{/number}","events_url":"https://api.github.com/repos/yagoyagoyago/hdp/events","assignees_url":"https://api.github.com/repos/yagoyagoyago/hdp/assignees{/user}","branches_url":"https://api.github.com/repos/yagoyagoyago/hdp/branches{/branch}","tags_url":"https://api.github.com/repos/yagoyagoyago/hdp/tags","blobs_url":"https://api.github.com/repos/yagoyagoyago/hdp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yagoyagoyago/hdp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yagoyagoyago/hdp/git/refs{/sha}","trees_url":"https://api.github.com/repos/yagoyagoyago/hdp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yagoyagoyago/hdp/statuses/{sha}","languages_url":"https://api.github.com/repos/yagoyagoyago/hdp/languages","stargazers_url":"https://api.github.com/repos/yagoyagoyago/hdp/stargazers","contributors_url":"https://api.github.com/repos/yagoyagoyago/hdp/contributors","subscribers_url":"https://api.github.com/repos/yagoyagoyago/hdp/subscribers","subscription_url":"https://api.github.com/repos/yagoyagoyago/hdp/subscription","commits_url":"https://api.github.com/repos/yagoyagoyago/hdp/commits{/sha}","git_commits_url":"https://api.github.com/repos/yagoyagoyago/hdp/git/commits{/sha}","comments_url":"https://api.github.com/repos/yagoyagoyago/hdp/comments{/number}","issue_comment_url":"https://api.github.com/repos/yagoyagoyago/hdp/issues/comments{/number}","contents_url":"https://api.github.com/repos/yagoyagoyago/hdp/contents/{+path}","compare_url":"https://api.github.com/repos/yagoyagoyago/hdp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yagoyagoyago/hdp/merges","archive_url":"https://api.github.com/repos/yagoyagoyago/hdp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yagoyagoyago/hdp/downloads","issues_url":"https://api.github.com/repos/yagoyagoyago/hdp/issues{/number}","pulls_url":"https://api.github.com/repos/yagoyagoyago/hdp/pulls{/number}","milestones_url":"https://api.github.com/repos/yagoyagoyago/hdp/milestones{/number}","notifications_url":"https://api.github.com/repos/yagoyagoyago/hdp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yagoyagoyago/hdp/labels{/name}","releases_url":"https://api.github.com/repos/yagoyagoyago/hdp/releases{/id}","deployments_url":"https://api.github.com/repos/yagoyagoyago/hdp/deployments","created_at":"2016-05-05T15:56:24Z","updated_at":"2016-05-05T15:56:26Z","pushed_at":"2016-06-21T16:55:53Z","git_url":"git://github.com/yagoyagoyago/hdp.git","ssh_url":"git@github.com:yagoyagoyago/hdp.git","clone_url":"https://github.com/yagoyagoyago/hdp.git","svn_url":"https://github.com/yagoyagoyago/hdp","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"ferustigris:master","ref":"master","sha":"27b1d6a51b3bdd1962ff126044a42f93946af5d5","user":{"login":"ferustigris","id":3316337,"avatar_url":"https://avatars.githubusercontent.com/u/3316337?v=3","gravatar_id":"","url":"https://api.github.com/users/ferustigris","html_url":"https://github.com/ferustigris","followers_url":"https://api.github.com/users/ferustigris/followers","following_url":"https://api.github.com/users/ferustigris/following{/other_user}","gists_url":"https://api.github.com/users/ferustigris/gists{/gist_id}","starred_url":"https://api.github.com/users/ferustigris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferustigris/subscriptions","organizations_url":"https://api.github.com/users/ferustigris/orgs","repos_url":"https://api.github.com/users/ferustigris/repos","events_url":"https://api.github.com/users/ferustigris/events{/privacy}","received_events_url":"https://api.github.com/users/ferustigris/received_events","type":"User","site_admin":false},"repo":{"id":51217207,"name":"hdp","full_name":"ferustigris/hdp","owner":{"login":"ferustigris","id":3316337,"avatar_url":"https://avatars.githubusercontent.com/u/3316337?v=3","gravatar_id":"","url":"https://api.github.com/users/ferustigris","html_url":"https://github.com/ferustigris","followers_url":"https://api.github.com/users/ferustigris/followers","following_url":"https://api.github.com/users/ferustigris/following{/other_user}","gists_url":"https://api.github.com/users/ferustigris/gists{/gist_id}","starred_url":"https://api.github.com/users/ferustigris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferustigris/subscriptions","organizations_url":"https://api.github.com/users/ferustigris/orgs","repos_url":"https://api.github.com/users/ferustigris/repos","events_url":"https://api.github.com/users/ferustigris/events{/privacy}","received_events_url":"https://api.github.com/users/ferustigris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ferustigris/hdp","description":"Docker image for hadoop","fork":false,"url":"https://api.github.com/repos/ferustigris/hdp","forks_url":"https://api.github.com/repos/ferustigris/hdp/forks","keys_url":"https://api.github.com/repos/ferustigris/hdp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ferustigris/hdp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ferustigris/hdp/teams","hooks_url":"https://api.github.com/repos/ferustigris/hdp/hooks","issue_events_url":"https://api.github.com/repos/ferustigris/hdp/issues/events{/number}","events_url":"https://api.github.com/repos/ferustigris/hdp/events","assignees_url":"https://api.github.com/repos/ferustigris/hdp/assignees{/user}","branches_url":"https://api.github.com/repos/ferustigris/hdp/branches{/branch}","tags_url":"https://api.github.com/repos/ferustigris/hdp/tags","blobs_url":"https://api.github.com/repos/ferustigris/hdp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ferustigris/hdp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ferustigris/hdp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ferustigris/hdp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ferustigris/hdp/statuses/{sha}","languages_url":"https://api.github.com/repos/ferustigris/hdp/languages","stargazers_url":"https://api.github.com/repos/ferustigris/hdp/stargazers","contributors_url":"https://api.github.com/repos/ferustigris/hdp/contributors","subscribers_url":"https://api.github.com/repos/ferustigris/hdp/subscribers","subscription_url":"https://api.github.com/repos/ferustigris/hdp/subscription","commits_url":"https://api.github.com/repos/ferustigris/hdp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ferustigris/hdp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ferustigris/hdp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ferustigris/hdp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ferustigris/hdp/contents/{+path}","compare_url":"https://api.github.com/repos/ferustigris/hdp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ferustigris/hdp/merges","archive_url":"https://api.github.com/repos/ferustigris/hdp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ferustigris/hdp/downloads","issues_url":"https://api.github.com/repos/ferustigris/hdp/issues{/number}","pulls_url":"https://api.github.com/repos/ferustigris/hdp/pulls{/number}","milestones_url":"https://api.github.com/repos/ferustigris/hdp/milestones{/number}","notifications_url":"https://api.github.com/repos/ferustigris/hdp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ferustigris/hdp/labels{/name}","releases_url":"https://api.github.com/repos/ferustigris/hdp/releases{/id}","deployments_url":"https://api.github.com/repos/ferustigris/hdp/deployments","created_at":"2016-02-06T19:13:33Z","updated_at":"2016-02-06T20:44:17Z","pushed_at":"2016-06-27T09:46:23Z","git_url":"git://github.com/ferustigris/hdp.git","ssh_url":"git@github.com:ferustigris/hdp.git","clone_url":"https://github.com/ferustigris/hdp.git","svn_url":"https://github.com/ferustigris/hdp","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ferustigris/hdp/pulls/3"},"html":{"href":"https://github.com/ferustigris/hdp/pull/3"},"issue":{"href":"https://api.github.com/repos/ferustigris/hdp/issues/3"},"comments":{"href":"https://api.github.com/repos/ferustigris/hdp/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ferustigris/hdp/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ferustigris/hdp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ferustigris/hdp/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ferustigris/hdp/statuses/42d747a8888eb6ac50508e5e10f5c15fdf7f4f28"}}}}
{"actor":{"display_login":"ferustigris"}}