{"action":"closed","number":17658,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/17658","id":116145508,"html_url":"https://github.com/apache/spark/pull/17658","diff_url":"https://github.com/apache/spark/pull/17658.diff","patch_url":"https://github.com/apache/spark/pull/17658.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/17658","number":17658,"state":"closed","locked":false,"title":"[SPARK-20355] Add per application spark version on the history server headerpage","user":{"login":"redsanket","id":8295799,"avatar_url":"https://avatars0.githubusercontent.com/u/8295799?v=3","gravatar_id":"","url":"https://api.github.com/users/redsanket","html_url":"https://github.com/redsanket","followers_url":"https://api.github.com/users/redsanket/followers","following_url":"https://api.github.com/users/redsanket/following{/other_user}","gists_url":"https://api.github.com/users/redsanket/gists{/gist_id}","starred_url":"https://api.github.com/users/redsanket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redsanket/subscriptions","organizations_url":"https://api.github.com/users/redsanket/orgs","repos_url":"https://api.github.com/users/redsanket/repos","events_url":"https://api.github.com/users/redsanket/events{/privacy}","received_events_url":"https://api.github.com/users/redsanket/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nSpark Version for a specific application is not displayed on the history page now. It should be nice to switch the spark version on the UI when we click on the specific application.\r\nCurrently there seems to be way as SparkListenerLogStart records the application version. So, it should be trivial to listen to this event and provision this change on the UI.\r\nFor Example\r\n<img width=\"1439\" alt=\"screen shot 2017-04-06 at 3 23 41 pm\" src=\"https://cloud.githubusercontent.com/assets/8295799/25092650/41f3970a-2354-11e7-9b0d-4646d0adeb61.png\">\r\n<img width=\"1399\" alt=\"screen shot 2017-04-17 at 9 59 33 am\" src=\"https://cloud.githubusercontent.com/assets/8295799/25092743/9f9e2f28-2354-11e7-9605-f2f1c63f21fe.png\">\r\n\r\n{\"Event\":\"SparkListenerLogStart\",\"Spark Version\":\"2.0.0\"}\r\n(Please fill in changes proposed in this fix)\r\nModified the SparkUI for History server to listen to SparkLogListenerStart event and extract the version and print it.\r\n\r\n## How was this patch tested?\r\nManual testing of UI page. Attaching the UI screenshot changes here\r\n\r\n(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)\r\n(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)\r\n\r\nPlease review http://spark.apache.org/contributing.html before opening a pull request.\r\n","created_at":"2017-04-17T14:56:32Z","updated_at":"2017-05-09T14:33:37Z","closed_at":"2017-05-09T14:33:37Z","merged_at":null,"merge_commit_sha":"a369aded13e028f174c90c502b2c27893693adea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/17658/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/17658/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/17658/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/93e7a20047ba6b94da894d64c03e58cd70adf0e5","head":{"label":"redsanket:SPARK-20355","ref":"SPARK-20355","sha":"93e7a20047ba6b94da894d64c03e58cd70adf0e5","user":{"login":"redsanket","id":8295799,"avatar_url":"https://avatars0.githubusercontent.com/u/8295799?v=3","gravatar_id":"","url":"https://api.github.com/users/redsanket","html_url":"https://github.com/redsanket","followers_url":"https://api.github.com/users/redsanket/followers","following_url":"https://api.github.com/users/redsanket/following{/other_user}","gists_url":"https://api.github.com/users/redsanket/gists{/gist_id}","starred_url":"https://api.github.com/users/redsanket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redsanket/subscriptions","organizations_url":"https://api.github.com/users/redsanket/orgs","repos_url":"https://api.github.com/users/redsanket/repos","events_url":"https://api.github.com/users/redsanket/events{/privacy}","received_events_url":"https://api.github.com/users/redsanket/received_events","type":"User","site_admin":false},"repo":{"id":39640326,"name":"spark","full_name":"redsanket/spark","owner":{"login":"redsanket","id":8295799,"avatar_url":"https://avatars0.githubusercontent.com/u/8295799?v=3","gravatar_id":"","url":"https://api.github.com/users/redsanket","html_url":"https://github.com/redsanket","followers_url":"https://api.github.com/users/redsanket/followers","following_url":"https://api.github.com/users/redsanket/following{/other_user}","gists_url":"https://api.github.com/users/redsanket/gists{/gist_id}","starred_url":"https://api.github.com/users/redsanket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redsanket/subscriptions","organizations_url":"https://api.github.com/users/redsanket/orgs","repos_url":"https://api.github.com/users/redsanket/repos","events_url":"https://api.github.com/users/redsanket/events{/privacy}","received_events_url":"https://api.github.com/users/redsanket/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redsanket/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/redsanket/spark","forks_url":"https://api.github.com/repos/redsanket/spark/forks","keys_url":"https://api.github.com/repos/redsanket/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redsanket/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redsanket/spark/teams","hooks_url":"https://api.github.com/repos/redsanket/spark/hooks","issue_events_url":"https://api.github.com/repos/redsanket/spark/issues/events{/number}","events_url":"https://api.github.com/repos/redsanket/spark/events","assignees_url":"https://api.github.com/repos/redsanket/spark/assignees{/user}","branches_url":"https://api.github.com/repos/redsanket/spark/branches{/branch}","tags_url":"https://api.github.com/repos/redsanket/spark/tags","blobs_url":"https://api.github.com/repos/redsanket/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redsanket/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redsanket/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/redsanket/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redsanket/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/redsanket/spark/languages","stargazers_url":"https://api.github.com/repos/redsanket/spark/stargazers","contributors_url":"https://api.github.com/repos/redsanket/spark/contributors","subscribers_url":"https://api.github.com/repos/redsanket/spark/subscribers","subscription_url":"https://api.github.com/repos/redsanket/spark/subscription","commits_url":"https://api.github.com/repos/redsanket/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/redsanket/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/redsanket/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/redsanket/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/redsanket/spark/contents/{+path}","compare_url":"https://api.github.com/repos/redsanket/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redsanket/spark/merges","archive_url":"https://api.github.com/repos/redsanket/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redsanket/spark/downloads","issues_url":"https://api.github.com/repos/redsanket/spark/issues{/number}","pulls_url":"https://api.github.com/repos/redsanket/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/redsanket/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/redsanket/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redsanket/spark/labels{/name}","releases_url":"https://api.github.com/repos/redsanket/spark/releases{/id}","deployments_url":"https://api.github.com/repos/redsanket/spark/deployments","created_at":"2015-07-24T14:59:08Z","updated_at":"2015-07-24T14:59:30Z","pushed_at":"2017-05-05T22:57:50Z","git_url":"git://github.com/redsanket/spark.git","ssh_url":"git@github.com:redsanket/spark.git","clone_url":"https://github.com/redsanket/spark.git","svn_url":"https://github.com/redsanket/spark","homepage":null,"size":257694,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"6fc6cf88d871f5b05b0ad1a504e0d6213cf9d331","user":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","deployments_url":"https://api.github.com/repos/apache/spark/deployments","created_at":"2014-02-25T08:00:08Z","updated_at":"2017-05-09T10:52:21Z","pushed_at":"2017-05-09T14:30:36Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":273244,"stargazers_count":12730,"watchers_count":12730,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12016,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":486,"forks":12016,"open_issues":486,"watchers":12730,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/17658"},"html":{"href":"https://github.com/apache/spark/pull/17658"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/17658"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/17658/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/17658/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/17658/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/93e7a20047ba6b94da894d64c03e58cd70adf0e5"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":40,"review_comments":32,"maintainer_can_modify":false,"commits":14,"additions":107,"deletions":20,"changed_files":25}}
{"actor":{"display_login":"asfgit"}}