{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/91785934","pull_request_review_id":12298439,"id":91785934,"diff_hunk":"@@ -121,6 +123,12 @@ private[spark] class SparkUI private (\n     ))\n   }\n \n+  def setStreamingListener(streamingJobProgressListener: SparkListener): Unit = {\n+    this.streamingJobProgressListener = Some(streamingJobProgressListener)","path":"core/src/main/scala/org/apache/spark/ui/SparkUI.scala","position":14,"original_position":14,"commit_id":"ef11ec27ce01403dbdb184b3e15db3cb7239649c","original_commit_id":"ef11ec27ce01403dbdb184b3e15db3cb7239649c","user":{"login":"vanzin","id":1694083,"avatar_url":"https://avatars.githubusercontent.com/u/1694083?v=3","gravatar_id":"","url":"https://api.github.com/users/vanzin","html_url":"https://github.com/vanzin","followers_url":"https://api.github.com/users/vanzin/followers","following_url":"https://api.github.com/users/vanzin/following{/other_user}","gists_url":"https://api.github.com/users/vanzin/gists{/gist_id}","starred_url":"https://api.github.com/users/vanzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanzin/subscriptions","organizations_url":"https://api.github.com/users/vanzin/orgs","repos_url":"https://api.github.com/users/vanzin/repos","events_url":"https://api.github.com/users/vanzin/events{/privacy}","received_events_url":"https://api.github.com/users/vanzin/received_events","type":"User","site_admin":false},"body":"`Option(streamingJobProgressListener)`. Just in case.","created_at":"2016-12-09T20:06:40Z","updated_at":"2016-12-09T20:12:29Z","html_url":"https://github.com/apache/spark/pull/15904#discussion_r91785934","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/15904","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/91785934"},"html":{"href":"https://github.com/apache/spark/pull/15904#discussion_r91785934"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/15904"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15904","id":93943725,"html_url":"https://github.com/apache/spark/pull/15904","diff_url":"https://github.com/apache/spark/pull/15904.diff","patch_url":"https://github.com/apache/spark/pull/15904.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/15904","number":15904,"state":"open","locked":false,"title":"[SPARK-18470][STREAMING][WIP] Provide Spark Streaming Monitor Rest Api","user":{"login":"uncleGen","id":7402327,"avatar_url":"https://avatars.githubusercontent.com/u/7402327?v=3","gravatar_id":"","url":"https://api.github.com/users/uncleGen","html_url":"https://github.com/uncleGen","followers_url":"https://api.github.com/users/uncleGen/followers","following_url":"https://api.github.com/users/uncleGen/following{/other_user}","gists_url":"https://api.github.com/users/uncleGen/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleGen/subscriptions","organizations_url":"https://api.github.com/users/uncleGen/orgs","repos_url":"https://api.github.com/users/uncleGen/repos","events_url":"https://api.github.com/users/uncleGen/events{/privacy}","received_events_url":"https://api.github.com/users/uncleGen/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nProvide Spark Streaming Monitor Rest Api\r\n\r\n - /api/v1/applications/[app-id]/streaming/batch\r\n---\r\n![image](https://cloud.githubusercontent.com/assets/7402327/20345407/faa9352e-ac31-11e6-88b7-a32c3287bd65.png)\r\n\r\n- /api/v1/applications/[app-id]/streaming/receivers\r\n---\r\n![image](https://cloud.githubusercontent.com/assets/7402327/20345291/7c90a794-ac31-11e6-9b05-c31ccd33291e.png)\r\n\r\n## How was this patch tested?\r\n\r\nnew unit test\r\n","created_at":"2016-11-16T10:59:01Z","updated_at":"2016-12-09T20:12:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b14fa9141da21a33171795c7b8b448c75df088e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/15904/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/15904/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/15904/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/ef11ec27ce01403dbdb184b3e15db3cb7239649c","head":{"label":"uncleGen:SPARK-18470","ref":"SPARK-18470","sha":"ef11ec27ce01403dbdb184b3e15db3cb7239649c","user":{"login":"uncleGen","id":7402327,"avatar_url":"https://avatars.githubusercontent.com/u/7402327?v=3","gravatar_id":"","url":"https://api.github.com/users/uncleGen","html_url":"https://github.com/uncleGen","followers_url":"https://api.github.com/users/uncleGen/followers","following_url":"https://api.github.com/users/uncleGen/following{/other_user}","gists_url":"https://api.github.com/users/uncleGen/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleGen/subscriptions","organizations_url":"https://api.github.com/users/uncleGen/orgs","repos_url":"https://api.github.com/users/uncleGen/repos","events_url":"https://api.github.com/users/uncleGen/events{/privacy}","received_events_url":"https://api.github.com/users/uncleGen/received_events","type":"User","site_admin":false},"repo":{"id":23988410,"name":"spark","full_name":"uncleGen/spark","owner":{"login":"uncleGen","id":7402327,"avatar_url":"https://avatars.githubusercontent.com/u/7402327?v=3","gravatar_id":"","url":"https://api.github.com/users/uncleGen","html_url":"https://github.com/uncleGen","followers_url":"https://api.github.com/users/uncleGen/followers","following_url":"https://api.github.com/users/uncleGen/following{/other_user}","gists_url":"https://api.github.com/users/uncleGen/gists{/gist_id}","starred_url":"https://api.github.com/users/uncleGen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uncleGen/subscriptions","organizations_url":"https://api.github.com/users/uncleGen/orgs","repos_url":"https://api.github.com/users/uncleGen/repos","events_url":"https://api.github.com/users/uncleGen/events{/privacy}","received_events_url":"https://api.github.com/users/uncleGen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uncleGen/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/uncleGen/spark","forks_url":"https://api.github.com/repos/uncleGen/spark/forks","keys_url":"https://api.github.com/repos/uncleGen/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uncleGen/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uncleGen/spark/teams","hooks_url":"https://api.github.com/repos/uncleGen/spark/hooks","issue_events_url":"https://api.github.com/repos/uncleGen/spark/issues/events{/number}","events_url":"https://api.github.com/repos/uncleGen/spark/events","assignees_url":"https://api.github.com/repos/uncleGen/spark/assignees{/user}","branches_url":"https://api.github.com/repos/uncleGen/spark/branches{/branch}","tags_url":"https://api.github.com/repos/uncleGen/spark/tags","blobs_url":"https://api.github.com/repos/uncleGen/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uncleGen/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uncleGen/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/uncleGen/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uncleGen/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/uncleGen/spark/languages","stargazers_url":"https://api.github.com/repos/uncleGen/spark/stargazers","contributors_url":"https://api.github.com/repos/uncleGen/spark/contributors","subscribers_url":"https://api.github.com/repos/uncleGen/spark/subscribers","subscription_url":"https://api.github.com/repos/uncleGen/spark/subscription","commits_url":"https://api.github.com/repos/uncleGen/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/uncleGen/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/uncleGen/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/uncleGen/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/uncleGen/spark/contents/{+path}","compare_url":"https://api.github.com/repos/uncleGen/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uncleGen/spark/merges","archive_url":"https://api.github.com/repos/uncleGen/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uncleGen/spark/downloads","issues_url":"https://api.github.com/repos/uncleGen/spark/issues{/number}","pulls_url":"https://api.github.com/repos/uncleGen/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/uncleGen/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/uncleGen/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uncleGen/spark/labels{/name}","releases_url":"https://api.github.com/repos/uncleGen/spark/releases{/id}","deployments_url":"https://api.github.com/repos/uncleGen/spark/deployments","created_at":"2014-09-13T07:16:52Z","updated_at":"2015-03-24T04:21:04Z","pushed_at":"2016-12-06T02:50:28Z","git_url":"git://github.com/uncleGen/spark.git","ssh_url":"git@github.com:uncleGen/spark.git","clone_url":"https://github.com/uncleGen/spark.git","svn_url":"https://github.com/uncleGen/spark","homepage":null,"size":246850,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":false,"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":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"a75e3fe923372c56bc1b2f4baeaaf5868ad28341","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.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://avatars.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":"2016-12-09T18:52:06Z","pushed_at":"2016-12-09T19:54:56Z","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":621492,"stargazers_count":11019,"watchers_count":11019,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10309,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":449,"forks":10309,"open_issues":449,"watchers":11019,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/15904"},"html":{"href":"https://github.com/apache/spark/pull/15904"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/15904"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/15904/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/15904/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/15904/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/ef11ec27ce01403dbdb184b3e15db3cb7239649c"}}}}
{"actor":{"display_login":"vanzin"}}