{"action":"closed","number":114,"pull_request":{"url":"https://api.github.com/repos/mesos/spark-ec2/pulls/114","id":33825476,"html_url":"https://github.com/mesos/spark-ec2/pull/114","diff_url":"https://github.com/mesos/spark-ec2/pull/114.diff","patch_url":"https://github.com/mesos/spark-ec2/pull/114.patch","issue_url":"https://api.github.com/repos/mesos/spark-ec2/issues/114","number":114,"state":"closed","locked":false,"title":"Spark UI: Fallback to private IP if public DNS not available","user":{"login":"tkunicki","id":1392031,"avatar_url":"https://avatars.githubusercontent.com/u/1392031?v=3","gravatar_id":"","url":"https://api.github.com/users/tkunicki","html_url":"https://github.com/tkunicki","followers_url":"https://api.github.com/users/tkunicki/followers","following_url":"https://api.github.com/users/tkunicki/following{/other_user}","gists_url":"https://api.github.com/users/tkunicki/gists{/gist_id}","starred_url":"https://api.github.com/users/tkunicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkunicki/subscriptions","organizations_url":"https://api.github.com/users/tkunicki/orgs","repos_url":"https://api.github.com/users/tkunicki/repos","events_url":"https://api.github.com/users/tkunicki/events{/privacy}","received_events_url":"https://api.github.com/users/tkunicki/received_events","type":"User","site_admin":false},"body":"I am using the spark-ec2 script to launch a cluster in an EC2 VPC which does not have a public DNS available. With the current configuration, the links in the Spark UI are not properly configured. This change will allow for the use of the master's private IP address if a public hostname can not resolve.","created_at":"2015-04-22T04:36:03Z","updated_at":"2015-04-22T19:28:01Z","closed_at":"2015-04-22T19:28:01Z","merged_at":null,"merge_commit_sha":"79fa82d3abafda79b7a91d2a6b701112a8f8f1d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesos/spark-ec2/pulls/114/commits","review_comments_url":"https://api.github.com/repos/mesos/spark-ec2/pulls/114/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/114/comments","statuses_url":"https://api.github.com/repos/mesos/spark-ec2/statuses/ccc9203120e36e75530f5117ef8988006081f08f","head":{"label":"tkunicki:spark_ui_without_public_dns","ref":"spark_ui_without_public_dns","sha":"ccc9203120e36e75530f5117ef8988006081f08f","user":{"login":"tkunicki","id":1392031,"avatar_url":"https://avatars.githubusercontent.com/u/1392031?v=3","gravatar_id":"","url":"https://api.github.com/users/tkunicki","html_url":"https://github.com/tkunicki","followers_url":"https://api.github.com/users/tkunicki/followers","following_url":"https://api.github.com/users/tkunicki/following{/other_user}","gists_url":"https://api.github.com/users/tkunicki/gists{/gist_id}","starred_url":"https://api.github.com/users/tkunicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkunicki/subscriptions","organizations_url":"https://api.github.com/users/tkunicki/orgs","repos_url":"https://api.github.com/users/tkunicki/repos","events_url":"https://api.github.com/users/tkunicki/events{/privacy}","received_events_url":"https://api.github.com/users/tkunicki/received_events","type":"User","site_admin":false},"repo":{"id":34368025,"name":"spark-ec2","full_name":"tkunicki/spark-ec2","owner":{"login":"tkunicki","id":1392031,"avatar_url":"https://avatars.githubusercontent.com/u/1392031?v=3","gravatar_id":"","url":"https://api.github.com/users/tkunicki","html_url":"https://github.com/tkunicki","followers_url":"https://api.github.com/users/tkunicki/followers","following_url":"https://api.github.com/users/tkunicki/following{/other_user}","gists_url":"https://api.github.com/users/tkunicki/gists{/gist_id}","starred_url":"https://api.github.com/users/tkunicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkunicki/subscriptions","organizations_url":"https://api.github.com/users/tkunicki/orgs","repos_url":"https://api.github.com/users/tkunicki/repos","events_url":"https://api.github.com/users/tkunicki/events{/privacy}","received_events_url":"https://api.github.com/users/tkunicki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tkunicki/spark-ec2","description":"Scripts used to setup a Spark cluster on EC2","fork":true,"url":"https://api.github.com/repos/tkunicki/spark-ec2","forks_url":"https://api.github.com/repos/tkunicki/spark-ec2/forks","keys_url":"https://api.github.com/repos/tkunicki/spark-ec2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tkunicki/spark-ec2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tkunicki/spark-ec2/teams","hooks_url":"https://api.github.com/repos/tkunicki/spark-ec2/hooks","issue_events_url":"https://api.github.com/repos/tkunicki/spark-ec2/issues/events{/number}","events_url":"https://api.github.com/repos/tkunicki/spark-ec2/events","assignees_url":"https://api.github.com/repos/tkunicki/spark-ec2/assignees{/user}","branches_url":"https://api.github.com/repos/tkunicki/spark-ec2/branches{/branch}","tags_url":"https://api.github.com/repos/tkunicki/spark-ec2/tags","blobs_url":"https://api.github.com/repos/tkunicki/spark-ec2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tkunicki/spark-ec2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tkunicki/spark-ec2/git/refs{/sha}","trees_url":"https://api.github.com/repos/tkunicki/spark-ec2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tkunicki/spark-ec2/statuses/{sha}","languages_url":"https://api.github.com/repos/tkunicki/spark-ec2/languages","stargazers_url":"https://api.github.com/repos/tkunicki/spark-ec2/stargazers","contributors_url":"https://api.github.com/repos/tkunicki/spark-ec2/contributors","subscribers_url":"https://api.github.com/repos/tkunicki/spark-ec2/subscribers","subscription_url":"https://api.github.com/repos/tkunicki/spark-ec2/subscription","commits_url":"https://api.github.com/repos/tkunicki/spark-ec2/commits{/sha}","git_commits_url":"https://api.github.com/repos/tkunicki/spark-ec2/git/commits{/sha}","comments_url":"https://api.github.com/repos/tkunicki/spark-ec2/comments{/number}","issue_comment_url":"https://api.github.com/repos/tkunicki/spark-ec2/issues/comments{/number}","contents_url":"https://api.github.com/repos/tkunicki/spark-ec2/contents/{+path}","compare_url":"https://api.github.com/repos/tkunicki/spark-ec2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tkunicki/spark-ec2/merges","archive_url":"https://api.github.com/repos/tkunicki/spark-ec2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tkunicki/spark-ec2/downloads","issues_url":"https://api.github.com/repos/tkunicki/spark-ec2/issues{/number}","pulls_url":"https://api.github.com/repos/tkunicki/spark-ec2/pulls{/number}","milestones_url":"https://api.github.com/repos/tkunicki/spark-ec2/milestones{/number}","notifications_url":"https://api.github.com/repos/tkunicki/spark-ec2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tkunicki/spark-ec2/labels{/name}","releases_url":"https://api.github.com/repos/tkunicki/spark-ec2/releases{/id}","created_at":"2015-04-22T04:12:49Z","updated_at":"2015-04-22T04:12:49Z","pushed_at":"2015-04-22T04:33:47Z","git_url":"git://github.com/tkunicki/spark-ec2.git","ssh_url":"git@github.com:tkunicki/spark-ec2.git","clone_url":"https://github.com/tkunicki/spark-ec2.git","svn_url":"https://github.com/tkunicki/spark-ec2","homepage":null,"size":1612,"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.3"}},"base":{"label":"mesos:branch-1.3","ref":"branch-1.3","sha":"33b1ed47208c7c4fd07bfb1051de72a16489bf71","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-04-17T06:54:27Z","pushed_at":"2015-04-22T04:36:03Z","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":1612,"stargazers_count":50,"watchers_count":50,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":106,"mirror_url":null,"open_issues_count":4,"forks":106,"open_issues":4,"watchers":50,"default_branch":"branch-1.3"}},"_links":{"self":{"href":"https://api.github.com/repos/mesos/spark-ec2/pulls/114"},"html":{"href":"https://github.com/mesos/spark-ec2/pull/114"},"issue":{"href":"https://api.github.com/repos/mesos/spark-ec2/issues/114"},"comments":{"href":"https://api.github.com/repos/mesos/spark-ec2/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/mesos/spark-ec2/pulls/114/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/114/commits"},"statuses":{"href":"https://api.github.com/repos/mesos/spark-ec2/statuses/ccc9203120e36e75530f5117ef8988006081f08f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":1}}