{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/92072347","pull_request_review_id":12582007,"id":92072347,"diff_hunk":"@@ -583,6 +586,8 @@ class StreamingContext private[streaming] (\n               scheduler.start()\n             }\n             state = StreamingContextState.ACTIVE\n+            startTime = System.currentTimeMillis()","path":"streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala","position":23,"original_position":23,"commit_id":"7a11293b800abc2f1b15e5785ce510be22a39b04","original_commit_id":"7a11293b800abc2f1b15e5785ce510be22a39b04","user":{"login":"saturday-shi","id":18517951,"avatar_url":"https://avatars.githubusercontent.com/u/18517951?v=3","gravatar_id":"","url":"https://api.github.com/users/saturday-shi","html_url":"https://github.com/saturday-shi","followers_url":"https://api.github.com/users/saturday-shi/followers","following_url":"https://api.github.com/users/saturday-shi/following{/other_user}","gists_url":"https://api.github.com/users/saturday-shi/gists{/gist_id}","starred_url":"https://api.github.com/users/saturday-shi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saturday-shi/subscriptions","organizations_url":"https://api.github.com/users/saturday-shi/orgs","repos_url":"https://api.github.com/users/saturday-shi/repos","events_url":"https://api.github.com/users/saturday-shi/events{/privacy}","received_events_url":"https://api.github.com/users/saturday-shi/received_events","type":"User","site_admin":false},"body":"My collaborator discussed on this in [here](https://github.com/apache/spark/pull/16000/files/651dc679b865603be677ca9d30b975ce5c3c5df0#diff-65e4a5a7796881a38e4a3940227506c5) with @vanzin, and I agreed with @vanzin's suggestion.","created_at":"2016-12-13T00:19:53Z","updated_at":"2016-12-13T00:19:54Z","html_url":"https://github.com/apache/spark/pull/16253#discussion_r92072347","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/16253","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/92072347"},"html":{"href":"https://github.com/apache/spark/pull/16253#discussion_r92072347"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/16253"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/16253","id":97519177,"html_url":"https://github.com/apache/spark/pull/16253","diff_url":"https://github.com/apache/spark/pull/16253.diff","patch_url":"https://github.com/apache/spark/pull/16253.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/16253","number":16253,"state":"open","locked":false,"title":"[SPARK-18537][Web UI] Add a REST api to serve spark streaming information","user":{"login":"saturday-shi","id":18517951,"avatar_url":"https://avatars.githubusercontent.com/u/18517951?v=3","gravatar_id":"","url":"https://api.github.com/users/saturday-shi","html_url":"https://github.com/saturday-shi","followers_url":"https://api.github.com/users/saturday-shi/followers","following_url":"https://api.github.com/users/saturday-shi/following{/other_user}","gists_url":"https://api.github.com/users/saturday-shi/gists{/gist_id}","starred_url":"https://api.github.com/users/saturday-shi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saturday-shi/subscriptions","organizations_url":"https://api.github.com/users/saturday-shi/orgs","repos_url":"https://api.github.com/users/saturday-shi/repos","events_url":"https://api.github.com/users/saturday-shi/events{/privacy}","received_events_url":"https://api.github.com/users/saturday-shi/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nThis PR is an inheritance from #16000, and is a completion of #15904.\r\n\r\n**Description**\r\n\r\n- Augment the `org.apache.spark.status.api.v1` package for serving streaming information.\r\n- Retrieve the streaming information through StreamingJobProgressListener.\r\n\r\n> this api should cover exceptly the same amount of information as you can get from the web interface\r\n> the implementation is base on the current REST implementation of spark-core\r\n> and will be available for running applications only\r\n> \r\n> https://issues.apache.org/jira/browse/SPARK-18537\r\n\r\n## How was this patch tested?\r\n\r\nLocal test.","created_at":"2016-12-12T09:31:39Z","updated_at":"2016-12-13T00:19:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ede9ab6224ff31bdbe355e10770a6c98d2ef1f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/16253/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/16253/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/16253/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/7a11293b800abc2f1b15e5785ce510be22a39b04","head":{"label":"saturday-shi:SPARK-18537","ref":"SPARK-18537","sha":"7a11293b800abc2f1b15e5785ce510be22a39b04","user":{"login":"saturday-shi","id":18517951,"avatar_url":"https://avatars.githubusercontent.com/u/18517951?v=3","gravatar_id":"","url":"https://api.github.com/users/saturday-shi","html_url":"https://github.com/saturday-shi","followers_url":"https://api.github.com/users/saturday-shi/followers","following_url":"https://api.github.com/users/saturday-shi/following{/other_user}","gists_url":"https://api.github.com/users/saturday-shi/gists{/gist_id}","starred_url":"https://api.github.com/users/saturday-shi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saturday-shi/subscriptions","organizations_url":"https://api.github.com/users/saturday-shi/orgs","repos_url":"https://api.github.com/users/saturday-shi/repos","events_url":"https://api.github.com/users/saturday-shi/events{/privacy}","received_events_url":"https://api.github.com/users/saturday-shi/received_events","type":"User","site_admin":false},"repo":{"id":67774020,"name":"spark","full_name":"saturday-shi/spark","owner":{"login":"saturday-shi","id":18517951,"avatar_url":"https://avatars.githubusercontent.com/u/18517951?v=3","gravatar_id":"","url":"https://api.github.com/users/saturday-shi","html_url":"https://github.com/saturday-shi","followers_url":"https://api.github.com/users/saturday-shi/followers","following_url":"https://api.github.com/users/saturday-shi/following{/other_user}","gists_url":"https://api.github.com/users/saturday-shi/gists{/gist_id}","starred_url":"https://api.github.com/users/saturday-shi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saturday-shi/subscriptions","organizations_url":"https://api.github.com/users/saturday-shi/orgs","repos_url":"https://api.github.com/users/saturday-shi/repos","events_url":"https://api.github.com/users/saturday-shi/events{/privacy}","received_events_url":"https://api.github.com/users/saturday-shi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saturday-shi/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/saturday-shi/spark","forks_url":"https://api.github.com/repos/saturday-shi/spark/forks","keys_url":"https://api.github.com/repos/saturday-shi/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saturday-shi/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saturday-shi/spark/teams","hooks_url":"https://api.github.com/repos/saturday-shi/spark/hooks","issue_events_url":"https://api.github.com/repos/saturday-shi/spark/issues/events{/number}","events_url":"https://api.github.com/repos/saturday-shi/spark/events","assignees_url":"https://api.github.com/repos/saturday-shi/spark/assignees{/user}","branches_url":"https://api.github.com/repos/saturday-shi/spark/branches{/branch}","tags_url":"https://api.github.com/repos/saturday-shi/spark/tags","blobs_url":"https://api.github.com/repos/saturday-shi/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saturday-shi/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saturday-shi/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/saturday-shi/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saturday-shi/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/saturday-shi/spark/languages","stargazers_url":"https://api.github.com/repos/saturday-shi/spark/stargazers","contributors_url":"https://api.github.com/repos/saturday-shi/spark/contributors","subscribers_url":"https://api.github.com/repos/saturday-shi/spark/subscribers","subscription_url":"https://api.github.com/repos/saturday-shi/spark/subscription","commits_url":"https://api.github.com/repos/saturday-shi/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/saturday-shi/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/saturday-shi/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/saturday-shi/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/saturday-shi/spark/contents/{+path}","compare_url":"https://api.github.com/repos/saturday-shi/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saturday-shi/spark/merges","archive_url":"https://api.github.com/repos/saturday-shi/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saturday-shi/spark/downloads","issues_url":"https://api.github.com/repos/saturday-shi/spark/issues{/number}","pulls_url":"https://api.github.com/repos/saturday-shi/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/saturday-shi/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/saturday-shi/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saturday-shi/spark/labels{/name}","releases_url":"https://api.github.com/repos/saturday-shi/spark/releases{/id}","deployments_url":"https://api.github.com/repos/saturday-shi/spark/deployments","created_at":"2016-09-09T06:51:09Z","updated_at":"2016-09-09T06:51:33Z","pushed_at":"2016-12-12T08:47:02Z","git_url":"git://github.com/saturday-shi/spark.git","ssh_url":"git@github.com:saturday-shi/spark.git","clone_url":"https://github.com/saturday-shi/spark.git","svn_url":"https://github.com/saturday-shi/spark","homepage":null,"size":255083,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"83a42897ae90d84a54373db386a985e3e2d5903a","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-12T21:05:23Z","pushed_at":"2016-12-12T23:58:32Z","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":622054,"stargazers_count":11049,"watchers_count":11049,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10351,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":446,"forks":10351,"open_issues":446,"watchers":11049,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/16253"},"html":{"href":"https://github.com/apache/spark/pull/16253"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/16253"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/16253/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/16253/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/16253/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/7a11293b800abc2f1b15e5785ce510be22a39b04"}}}}
{"actor":{"display_login":"saturday-shi"}}