{"action":"opened","number":129,"pull_request":{"url":"https://api.github.com/repos/mesos/spark-ec2/pulls/129","id":39445423,"html_url":"https://github.com/mesos/spark-ec2/pull/129","diff_url":"https://github.com/mesos/spark-ec2/pull/129.diff","patch_url":"https://github.com/mesos/spark-ec2/pull/129.patch","issue_url":"https://api.github.com/repos/mesos/spark-ec2/issues/129","number":129,"state":"open","locked":false,"title":"[SPARK-8596] Rstudio install","user":{"login":"koaning","id":1019791,"avatar_url":"https://avatars.githubusercontent.com/u/1019791?v=3","gravatar_id":"","url":"https://api.github.com/users/koaning","html_url":"https://github.com/koaning","followers_url":"https://api.github.com/users/koaning/followers","following_url":"https://api.github.com/users/koaning/following{/other_user}","gists_url":"https://api.github.com/users/koaning/gists{/gist_id}","starred_url":"https://api.github.com/users/koaning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koaning/subscriptions","organizations_url":"https://api.github.com/users/koaning/orgs","repos_url":"https://api.github.com/users/koaning/repos","events_url":"https://api.github.com/users/koaning/events{/privacy}","received_events_url":"https://api.github.com/users/koaning/received_events","type":"User","site_admin":false},"body":"ive forced the user now to supply their own password for the rstudio user. i have used this and was able to confirm that the install worked and that i could access rstudio with a spark script. \r\n\r\n### To start new cluster \r\n\r\n```\r\n./spark-ec2 --key-pair=spark-df --identity-file=/Users/code/Downloads/spark-df.pem --region=eu-west-1 -s 1 --instance-type=c3.2xlarge --spark-ec2-git-repo=https://github.com/koaning/spark-ec2 --spark-ec2-git-branch=rstudio-install launch mysparkr-test\r\n```\r\n\r\n### Login \r\n\r\n```\r\n./spark-ec2 --key-pair=spark-df --identity-file=/Users/code/Downloads/spark-df.pem --region=eu-west-1 login mysparkr-test\r\n```\r\n\r\nThen on cluster use `passwd rstudio` to set new password. Next, use `curl icanhazip.com` to find out which ip adress to go to. Next visit `<ip-adr>:8787` to log in. There should be a startup script already available. \r\n\r\n### Shutdown \r\n\r\n```\r\n./spark-ec2 --key-pair=spark-df --identity-file=/Users/code/Downloads/spark-df.pem --region=eu-west-1 destroy mysparkr-test\r\n```\r\n","created_at":"2015-07-08T06:30:38Z","updated_at":"2015-07-08T06:30:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesos/spark-ec2/pulls/129/commits","review_comments_url":"https://api.github.com/repos/mesos/spark-ec2/pulls/129/comments","review_comment_url":"https://api.github.com/repos/mesos/spark-ec2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesos/spark-ec2/issues/129/comments","statuses_url":"https://api.github.com/repos/mesos/spark-ec2/statuses/a64a40aefe9fcfd1e38cc43f5acfbcb5006809f6","head":{"label":"koaning:rstudio-install","ref":"rstudio-install","sha":"a64a40aefe9fcfd1e38cc43f5acfbcb5006809f6","user":{"login":"koaning","id":1019791,"avatar_url":"https://avatars.githubusercontent.com/u/1019791?v=3","gravatar_id":"","url":"https://api.github.com/users/koaning","html_url":"https://github.com/koaning","followers_url":"https://api.github.com/users/koaning/followers","following_url":"https://api.github.com/users/koaning/following{/other_user}","gists_url":"https://api.github.com/users/koaning/gists{/gist_id}","starred_url":"https://api.github.com/users/koaning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koaning/subscriptions","organizations_url":"https://api.github.com/users/koaning/orgs","repos_url":"https://api.github.com/users/koaning/repos","events_url":"https://api.github.com/users/koaning/events{/privacy}","received_events_url":"https://api.github.com/users/koaning/received_events","type":"User","site_admin":false},"repo":{"id":38194406,"name":"spark-ec2","full_name":"koaning/spark-ec2","owner":{"login":"koaning","id":1019791,"avatar_url":"https://avatars.githubusercontent.com/u/1019791?v=3","gravatar_id":"","url":"https://api.github.com/users/koaning","html_url":"https://github.com/koaning","followers_url":"https://api.github.com/users/koaning/followers","following_url":"https://api.github.com/users/koaning/following{/other_user}","gists_url":"https://api.github.com/users/koaning/gists{/gist_id}","starred_url":"https://api.github.com/users/koaning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koaning/subscriptions","organizations_url":"https://api.github.com/users/koaning/orgs","repos_url":"https://api.github.com/users/koaning/repos","events_url":"https://api.github.com/users/koaning/events{/privacy}","received_events_url":"https://api.github.com/users/koaning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/koaning/spark-ec2","description":"Scripts used to setup a Spark cluster on EC2","fork":true,"url":"https://api.github.com/repos/koaning/spark-ec2","forks_url":"https://api.github.com/repos/koaning/spark-ec2/forks","keys_url":"https://api.github.com/repos/koaning/spark-ec2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koaning/spark-ec2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koaning/spark-ec2/teams","hooks_url":"https://api.github.com/repos/koaning/spark-ec2/hooks","issue_events_url":"https://api.github.com/repos/koaning/spark-ec2/issues/events{/number}","events_url":"https://api.github.com/repos/koaning/spark-ec2/events","assignees_url":"https://api.github.com/repos/koaning/spark-ec2/assignees{/user}","branches_url":"https://api.github.com/repos/koaning/spark-ec2/branches{/branch}","tags_url":"https://api.github.com/repos/koaning/spark-ec2/tags","blobs_url":"https://api.github.com/repos/koaning/spark-ec2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koaning/spark-ec2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koaning/spark-ec2/git/refs{/sha}","trees_url":"https://api.github.com/repos/koaning/spark-ec2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koaning/spark-ec2/statuses/{sha}","languages_url":"https://api.github.com/repos/koaning/spark-ec2/languages","stargazers_url":"https://api.github.com/repos/koaning/spark-ec2/stargazers","contributors_url":"https://api.github.com/repos/koaning/spark-ec2/contributors","subscribers_url":"https://api.github.com/repos/koaning/spark-ec2/subscribers","subscription_url":"https://api.github.com/repos/koaning/spark-ec2/subscription","commits_url":"https://api.github.com/repos/koaning/spark-ec2/commits{/sha}","git_commits_url":"https://api.github.com/repos/koaning/spark-ec2/git/commits{/sha}","comments_url":"https://api.github.com/repos/koaning/spark-ec2/comments{/number}","issue_comment_url":"https://api.github.com/repos/koaning/spark-ec2/issues/comments{/number}","contents_url":"https://api.github.com/repos/koaning/spark-ec2/contents/{+path}","compare_url":"https://api.github.com/repos/koaning/spark-ec2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koaning/spark-ec2/merges","archive_url":"https://api.github.com/repos/koaning/spark-ec2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koaning/spark-ec2/downloads","issues_url":"https://api.github.com/repos/koaning/spark-ec2/issues{/number}","pulls_url":"https://api.github.com/repos/koaning/spark-ec2/pulls{/number}","milestones_url":"https://api.github.com/repos/koaning/spark-ec2/milestones{/number}","notifications_url":"https://api.github.com/repos/koaning/spark-ec2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koaning/spark-ec2/labels{/name}","releases_url":"https://api.github.com/repos/koaning/spark-ec2/releases{/id}","created_at":"2015-06-28T10:05:59Z","updated_at":"2015-06-28T10:06:00Z","pushed_at":"2015-07-07T20:20:58Z","git_url":"git://github.com/koaning/spark-ec2.git","ssh_url":"git@github.com:koaning/spark-ec2.git","clone_url":"https://github.com/koaning/spark-ec2.git","svn_url":"https://github.com/koaning/spark-ec2","homepage":null,"size":423,"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":"branch-1.4"}},"base":{"label":"mesos:branch-1.4","ref":"branch-1.4","sha":"fe6e4d66fcbc760afe0afa8c6a4db3d6e29cb3e6","user":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"repo":{"id":8257251,"name":"spark-ec2","full_name":"mesos/spark-ec2","owner":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesos/spark-ec2","description":"Scripts used to setup a Spark cluster on EC2","fork":true,"url":"https://api.github.com/repos/mesos/spark-ec2","forks_url":"https://api.github.com/repos/mesos/spark-ec2/forks","keys_url":"https://api.github.com/repos/mesos/spark-ec2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesos/spark-ec2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesos/spark-ec2/teams","hooks_url":"https://api.github.com/repos/mesos/spark-ec2/hooks","issue_events_url":"https://api.github.com/repos/mesos/spark-ec2/issues/events{/number}","events_url":"https://api.github.com/repos/mesos/spark-ec2/events","assignees_url":"https://api.github.com/repos/mesos/spark-ec2/assignees{/user}","branches_url":"https://api.github.com/repos/mesos/spark-ec2/branches{/branch}","tags_url":"https://api.github.com/repos/mesos/spark-ec2/tags","blobs_url":"https://api.github.com/repos/mesos/spark-ec2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesos/spark-ec2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesos/spark-ec2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesos/spark-ec2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesos/spark-ec2/statuses/{sha}","languages_url":"https://api.github.com/repos/mesos/spark-ec2/languages","stargazers_url":"https://api.github.com/repos/mesos/spark-ec2/stargazers","contributors_url":"https://api.github.com/repos/mesos/spark-ec2/contributors","subscribers_url":"https://api.github.com/repos/mesos/spark-ec2/subscribers","subscription_url":"https://api.github.com/repos/mesos/spark-ec2/subscription","commits_url":"https://api.github.com/repos/mesos/spark-ec2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesos/spark-ec2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesos/spark-ec2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesos/spark-ec2/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesos/spark-ec2/contents/{+path}","compare_url":"https://api.github.com/repos/mesos/spark-ec2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesos/spark-ec2/merges","archive_url":"https://api.github.com/repos/mesos/spark-ec2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesos/spark-ec2/downloads","issues_url":"https://api.github.com/repos/mesos/spark-ec2/issues{/number}","pulls_url":"https://api.github.com/repos/mesos/spark-ec2/pulls{/number}","milestones_url":"https://api.github.com/repos/mesos/spark-ec2/milestones{/number}","notifications_url":"https://api.github.com/repos/mesos/spark-ec2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesos/spark-ec2/labels{/name}","releases_url":"https://api.github.com/repos/mesos/spark-ec2/releases{/id}","created_at":"2013-02-17T21:51:50Z","updated_at":"2015-07-06T09:59:48Z","pushed_at":"2015-07-06T17:59:53Z","git_url":"git://github.com/mesos/spark-ec2.git","ssh_url":"git@github.com:mesos/spark-ec2.git","clone_url":"https://github.com/mesos/spark-ec2.git","svn_url":"https://github.com/mesos/spark-ec2","homepage":null,"size":1442,"stargazers_count":59,"watchers_count":59,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":8,"forks":126,"open_issues":8,"watchers":59,"default_branch":"branch-1.4"}},"_links":{"self":{"href":"https://api.github.com/repos/mesos/spark-ec2/pulls/129"},"html":{"href":"https://github.com/mesos/spark-ec2/pull/129"},"issue":{"href":"https://api.github.com/repos/mesos/spark-ec2/issues/129"},"comments":{"href":"https://api.github.com/repos/mesos/spark-ec2/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/mesos/spark-ec2/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/mesos/spark-ec2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesos/spark-ec2/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/mesos/spark-ec2/statuses/a64a40aefe9fcfd1e38cc43f5acfbcb5006809f6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":11,"additions":39,"deletions":2,"changed_files":3}}