{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9299","labels_url":"https://api.github.com/repos/apache/spark/issues/9299/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9299/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9299/events","html_url":"https://github.com/apache/spark/pull/9299","id":113563544,"number":9299,"title":"SPARK-11344: Made ApplicationDescription and DriverDescription case classes","user":{"login":"jacek-lewandowski","id":6516951,"avatar_url":"https://avatars.githubusercontent.com/u/6516951?v=3","gravatar_id":"","url":"https://api.github.com/users/jacek-lewandowski","html_url":"https://github.com/jacek-lewandowski","followers_url":"https://api.github.com/users/jacek-lewandowski/followers","following_url":"https://api.github.com/users/jacek-lewandowski/following{/other_user}","gists_url":"https://api.github.com/users/jacek-lewandowski/gists{/gist_id}","starred_url":"https://api.github.com/users/jacek-lewandowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacek-lewandowski/subscriptions","organizations_url":"https://api.github.com/users/jacek-lewandowski/orgs","repos_url":"https://api.github.com/users/jacek-lewandowski/repos","events_url":"https://api.github.com/users/jacek-lewandowski/events{/privacy}","received_events_url":"https://api.github.com/users/jacek-lewandowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-27T11:36:23Z","updated_at":"2015-11-02T10:27:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9299","html_url":"https://github.com/apache/spark/pull/9299","diff_url":"https://github.com/apache/spark/pull/9299.diff","patch_url":"https://github.com/apache/spark/pull/9299.patch"},"body":"DriverDescription refactored to case class because it included no mutable fields.\r\n\r\nApplicationDescription had one mutable field, which was appUiUrl. This field was set by the driver to point to the driver web UI. Master was modifying this field when the application was removed to redirect requests to history server. This was wrong because objects which are sent over the wire should be immutable. Now appUiUrl is immutable in ApplicationDescription and always points to the driver UI even if it is already shutdown. The UI url which master exposes to the user and modifies dynamically is now included into ApplicationInfo - a data object which describes the application state internally in master. That URL in ApplicationInfo is initialised with the value from ApplicationDescription.\r\n\r\nApplicationDescription also included value user, which is now a part of case class fields. \r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/152981661","html_url":"https://github.com/apache/spark/pull/9299#issuecomment-152981661","issue_url":"https://api.github.com/repos/apache/spark/issues/9299","id":152981661,"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":"2015-11-02T10:27:12Z","updated_at":"2015-11-02T10:27:12Z","body":" Merged build triggered."}}