{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12257","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12257/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12257/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12257/events","html_url":"https://github.com/apache/spark/pull/12257","id":146842485,"number":12257,"title":"[SPARK-14483][WEBUI] Display user name for each job and query","user":{"login":"sarutak","id":4736016,"avatar_url":"https://avatars.githubusercontent.com/u/4736016?v=3","gravatar_id":"","url":"https://api.github.com/users/sarutak","html_url":"https://github.com/sarutak","followers_url":"https://api.github.com/users/sarutak/followers","following_url":"https://api.github.com/users/sarutak/following{/other_user}","gists_url":"https://api.github.com/users/sarutak/gists{/gist_id}","starred_url":"https://api.github.com/users/sarutak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarutak/subscriptions","organizations_url":"https://api.github.com/users/sarutak/orgs","repos_url":"https://api.github.com/users/sarutak/repos","events_url":"https://api.github.com/users/sarutak/events{/privacy}","received_events_url":"https://api.github.com/users/sarutak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":72,"created_at":"2016-04-08T07:34:04Z","updated_at":"2016-11-17T10:56:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12257","html_url":"https://github.com/apache/spark/pull/12257","diff_url":"https://github.com/apache/spark/pull/12257.diff","patch_url":"https://github.com/apache/spark/pull/12257.patch"},"body":"## What changes were proposed in this pull request?\n#12123 (SPARK-14245) introduced a feature displaying user name who runs jobs on AllJobsPage.\n\nUser names are pulled from the system property \"user.name\" but the property means who runs an application and each jobs in an application can be run by different users.  \nOne example is the case of using ThriftServer.  \nThriftServer is run by a user but queries are not always submitted by the user.                                                                                \n\nThis patch resolve this issue and displaying user name for each job and query on WebUI.  \nFollowing screenshots are the example of querying through ThriftServer run by root.                                                                           \n- AllJobsPage(Before)\n\n![alljobspage-before](https://cloud.githubusercontent.com/assets/4736016/14376859/15194c1c-fda7-11e5-8262-dc2faf4af1c2.png)\n- AllJobsPage(After)\n\n![alljobspage](https://cloud.githubusercontent.com/assets/4736016/14376871/28910596-fda7-11e5-81fb-9ffa6fa99940.png)\n- JobPage(Before) \n\n![jobpage-before](https://cloud.githubusercontent.com/assets/4736016/14376880/406ad124-fda7-11e5-9807-d386d31ddba4.png)\n- JobPage(After) \n\n![jobpage](https://cloud.githubusercontent.com/assets/4736016/14376885/4ce92f22-fda7-11e5-9134-0b21a1e3e9e9.png)\n- AllExecutionsPage(Before)\n\n![allexecutionspage-before](https://cloud.githubusercontent.com/assets/4736016/14376889/615d30c0-fda7-11e5-81ae-8fcff93d60a9.png)\n- AllExecutionsPage(After)\n\n![allexecutionpage](https://cloud.githubusercontent.com/assets/4736016/14376895/6c39befa-fda7-11e5-9f91-9cf90c2ede8e.png)\n- ExecutionPage(Before) \n\n![executionpage-before](https://cloud.githubusercontent.com/assets/4736016/14376901/78e5a6a0-fda7-11e5-9bc6-b8e5bd115ddc.png)\n- ExecutionPage(After)\n\n![executionpage](https://cloud.githubusercontent.com/assets/4736016/14376905/808fb44a-fda7-11e5-97c7-390a5f64bf12.png)\n\nOf course, we can see user name when we use HistoryServer.    \n## How was this patch tested?\n\nRun some queries through ThriftServer and checked UI including HistoryServer.\n\n(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/261217331","html_url":"https://github.com/apache/spark/pull/12257#issuecomment-261217331","issue_url":"https://api.github.com/repos/apache/spark/issues/12257","id":261217331,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T10:56:15Z","updated_at":"2016-11-17T10:56:15Z","body":"Merged build finished. Test PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}