{"action":"created","comment":{"url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments/67955935","id":67955935,"diff_hunk":"@@ -283,3 +288,17 @@ def _stop_heartbeat_thread(self):\n         if self._heartbeat_thread is not None:\n             self._heartbeat_thread.stop()\n             self._heartbeat_thread = None\n+\n+    def get_row_html(self, current_session_id):\n+        return u\"\"\"<tr><td>{0}</td><td>{1}</td><td>{2}</td><td>{3}</td><td>{4}</td><td>{5}</td><td>{6}</td></tr>\"\"\".format(\n+            self.id, self.get_app_id(), self.kind, self.status,\n+            self.get_html_link(u'Link', self.get_spark_ui_url()), self.get_html_link(u'Link', self.get_driver_log_url()),\n+            u\"\" if current_session_id is None or current_session_id != self.id else u\"\\u2714\"\n+        )\n+\n+    @staticmethod","path":"sparkmagic/sparkmagic/livyclientlib/livysession.py","position":38,"original_position":38,"commit_id":"fd4b4a11b7aab0e76aa2c8680e56c0bf688d43d0","original_commit_id":"fd4b4a11b7aab0e76aa2c8680e56c0bf688d43d0","user":{"login":"aggFTW","id":654204,"avatar_url":"https://avatars.githubusercontent.com/u/654204?v=3","gravatar_id":"","url":"https://api.github.com/users/aggFTW","html_url":"https://github.com/aggFTW","followers_url":"https://api.github.com/users/aggFTW/followers","following_url":"https://api.github.com/users/aggFTW/following{/other_user}","gists_url":"https://api.github.com/users/aggFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/aggFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aggFTW/subscriptions","organizations_url":"https://api.github.com/users/aggFTW/orgs","repos_url":"https://api.github.com/users/aggFTW/repos","events_url":"https://api.github.com/users/aggFTW/events{/privacy}","received_events_url":"https://api.github.com/users/aggFTW/received_events","type":"User","site_admin":false},"body":"This should be in `utils`","created_at":"2016-06-21T21:32:30Z","updated_at":"2016-06-21T21:32:30Z","html_url":"https://github.com/jupyter-incubator/sparkmagic/pull/259#discussion_r67955935","pull_request_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259","_links":{"self":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments/67955935"},"html":{"href":"https://github.com/jupyter-incubator/sparkmagic/pull/259#discussion_r67955935"},"pull_request":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259"}}},"pull_request":{"url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259","id":74286875,"html_url":"https://github.com/jupyter-incubator/sparkmagic/pull/259","diff_url":"https://github.com/jupyter-incubator/sparkmagic/pull/259.diff","patch_url":"https://github.com/jupyter-incubator/sparkmagic/pull/259.patch","issue_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/259","number":259,"state":"open","locked":false,"title":"Print the link to Spark UI and driver log as soon as SparkContext is …","user":{"login":"linchan-ms","id":13529509,"avatar_url":"https://avatars.githubusercontent.com/u/13529509?v=3","gravatar_id":"","url":"https://api.github.com/users/linchan-ms","html_url":"https://github.com/linchan-ms","followers_url":"https://api.github.com/users/linchan-ms/followers","following_url":"https://api.github.com/users/linchan-ms/following{/other_user}","gists_url":"https://api.github.com/users/linchan-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/linchan-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linchan-ms/subscriptions","organizations_url":"https://api.github.com/users/linchan-ms/orgs","repos_url":"https://api.github.com/users/linchan-ms/repos","events_url":"https://api.github.com/users/linchan-ms/events{/privacy}","received_events_url":"https://api.github.com/users/linchan-ms/received_events","type":"User","site_admin":false},"body":"…created successfully.","created_at":"2016-06-17T18:38:22Z","updated_at":"2016-06-21T21:32:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e5e580acb581556a163b5a30782556de86bc2ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259/commits","review_comments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259/comments","review_comment_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/259/comments","statuses_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/statuses/fd4b4a11b7aab0e76aa2c8680e56c0bf688d43d0","head":{"label":"linchan-ms:spark-info","ref":"spark-info","sha":"fd4b4a11b7aab0e76aa2c8680e56c0bf688d43d0","user":{"login":"linchan-ms","id":13529509,"avatar_url":"https://avatars.githubusercontent.com/u/13529509?v=3","gravatar_id":"","url":"https://api.github.com/users/linchan-ms","html_url":"https://github.com/linchan-ms","followers_url":"https://api.github.com/users/linchan-ms/followers","following_url":"https://api.github.com/users/linchan-ms/following{/other_user}","gists_url":"https://api.github.com/users/linchan-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/linchan-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linchan-ms/subscriptions","organizations_url":"https://api.github.com/users/linchan-ms/orgs","repos_url":"https://api.github.com/users/linchan-ms/repos","events_url":"https://api.github.com/users/linchan-ms/events{/privacy}","received_events_url":"https://api.github.com/users/linchan-ms/received_events","type":"User","site_admin":false},"repo":{"id":61392587,"name":"sparkmagic","full_name":"linchan-ms/sparkmagic","owner":{"login":"linchan-ms","id":13529509,"avatar_url":"https://avatars.githubusercontent.com/u/13529509?v=3","gravatar_id":"","url":"https://api.github.com/users/linchan-ms","html_url":"https://github.com/linchan-ms","followers_url":"https://api.github.com/users/linchan-ms/followers","following_url":"https://api.github.com/users/linchan-ms/following{/other_user}","gists_url":"https://api.github.com/users/linchan-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/linchan-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linchan-ms/subscriptions","organizations_url":"https://api.github.com/users/linchan-ms/orgs","repos_url":"https://api.github.com/users/linchan-ms/repos","events_url":"https://api.github.com/users/linchan-ms/events{/privacy}","received_events_url":"https://api.github.com/users/linchan-ms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/linchan-ms/sparkmagic","description":"Jupyter magics and kernels for working with remote Spark clusters","fork":true,"url":"https://api.github.com/repos/linchan-ms/sparkmagic","forks_url":"https://api.github.com/repos/linchan-ms/sparkmagic/forks","keys_url":"https://api.github.com/repos/linchan-ms/sparkmagic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linchan-ms/sparkmagic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linchan-ms/sparkmagic/teams","hooks_url":"https://api.github.com/repos/linchan-ms/sparkmagic/hooks","issue_events_url":"https://api.github.com/repos/linchan-ms/sparkmagic/issues/events{/number}","events_url":"https://api.github.com/repos/linchan-ms/sparkmagic/events","assignees_url":"https://api.github.com/repos/linchan-ms/sparkmagic/assignees{/user}","branches_url":"https://api.github.com/repos/linchan-ms/sparkmagic/branches{/branch}","tags_url":"https://api.github.com/repos/linchan-ms/sparkmagic/tags","blobs_url":"https://api.github.com/repos/linchan-ms/sparkmagic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linchan-ms/sparkmagic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linchan-ms/sparkmagic/git/refs{/sha}","trees_url":"https://api.github.com/repos/linchan-ms/sparkmagic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linchan-ms/sparkmagic/statuses/{sha}","languages_url":"https://api.github.com/repos/linchan-ms/sparkmagic/languages","stargazers_url":"https://api.github.com/repos/linchan-ms/sparkmagic/stargazers","contributors_url":"https://api.github.com/repos/linchan-ms/sparkmagic/contributors","subscribers_url":"https://api.github.com/repos/linchan-ms/sparkmagic/subscribers","subscription_url":"https://api.github.com/repos/linchan-ms/sparkmagic/subscription","commits_url":"https://api.github.com/repos/linchan-ms/sparkmagic/commits{/sha}","git_commits_url":"https://api.github.com/repos/linchan-ms/sparkmagic/git/commits{/sha}","comments_url":"https://api.github.com/repos/linchan-ms/sparkmagic/comments{/number}","issue_comment_url":"https://api.github.com/repos/linchan-ms/sparkmagic/issues/comments{/number}","contents_url":"https://api.github.com/repos/linchan-ms/sparkmagic/contents/{+path}","compare_url":"https://api.github.com/repos/linchan-ms/sparkmagic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linchan-ms/sparkmagic/merges","archive_url":"https://api.github.com/repos/linchan-ms/sparkmagic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linchan-ms/sparkmagic/downloads","issues_url":"https://api.github.com/repos/linchan-ms/sparkmagic/issues{/number}","pulls_url":"https://api.github.com/repos/linchan-ms/sparkmagic/pulls{/number}","milestones_url":"https://api.github.com/repos/linchan-ms/sparkmagic/milestones{/number}","notifications_url":"https://api.github.com/repos/linchan-ms/sparkmagic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linchan-ms/sparkmagic/labels{/name}","releases_url":"https://api.github.com/repos/linchan-ms/sparkmagic/releases{/id}","deployments_url":"https://api.github.com/repos/linchan-ms/sparkmagic/deployments","created_at":"2016-06-17T18:00:32Z","updated_at":"2016-06-17T18:00:33Z","pushed_at":"2016-06-21T21:27:32Z","git_url":"git://github.com/linchan-ms/sparkmagic.git","ssh_url":"git@github.com:linchan-ms/sparkmagic.git","clone_url":"https://github.com/linchan-ms/sparkmagic.git","svn_url":"https://github.com/linchan-ms/sparkmagic","homepage":"","size":1270,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"jupyter-incubator:master","ref":"master","sha":"d91fa4c43d36291a31c9543b3d66e9a79f646ba7","user":{"login":"jupyter-incubator","id":14002361,"avatar_url":"https://avatars.githubusercontent.com/u/14002361?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter-incubator","html_url":"https://github.com/jupyter-incubator","followers_url":"https://api.github.com/users/jupyter-incubator/followers","following_url":"https://api.github.com/users/jupyter-incubator/following{/other_user}","gists_url":"https://api.github.com/users/jupyter-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter-incubator/subscriptions","organizations_url":"https://api.github.com/users/jupyter-incubator/orgs","repos_url":"https://api.github.com/users/jupyter-incubator/repos","events_url":"https://api.github.com/users/jupyter-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":42875585,"name":"sparkmagic","full_name":"jupyter-incubator/sparkmagic","owner":{"login":"jupyter-incubator","id":14002361,"avatar_url":"https://avatars.githubusercontent.com/u/14002361?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter-incubator","html_url":"https://github.com/jupyter-incubator","followers_url":"https://api.github.com/users/jupyter-incubator/followers","following_url":"https://api.github.com/users/jupyter-incubator/following{/other_user}","gists_url":"https://api.github.com/users/jupyter-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter-incubator/subscriptions","organizations_url":"https://api.github.com/users/jupyter-incubator/orgs","repos_url":"https://api.github.com/users/jupyter-incubator/repos","events_url":"https://api.github.com/users/jupyter-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter-incubator/sparkmagic","description":"Jupyter magics and kernels for working with remote Spark clusters","fork":false,"url":"https://api.github.com/repos/jupyter-incubator/sparkmagic","forks_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/forks","keys_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/teams","hooks_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/hooks","issue_events_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/events","assignees_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/tags","blobs_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/languages","stargazers_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/stargazers","contributors_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/contributors","subscribers_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/subscribers","subscription_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/subscription","commits_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/merges","archive_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/downloads","issues_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/labels{/name}","releases_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/releases{/id}","deployments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/deployments","created_at":"2015-09-21T15:35:25Z","updated_at":"2016-06-18T09:40:35Z","pushed_at":"2016-06-21T21:30:04Z","git_url":"git://github.com/jupyter-incubator/sparkmagic.git","ssh_url":"git@github.com:jupyter-incubator/sparkmagic.git","clone_url":"https://github.com/jupyter-incubator/sparkmagic.git","svn_url":"https://github.com/jupyter-incubator/sparkmagic","homepage":"","size":1403,"stargazers_count":75,"watchers_count":75,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":14,"forks":14,"open_issues":14,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259"},"html":{"href":"https://github.com/jupyter-incubator/sparkmagic/pull/259"},"issue":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/259"},"comments":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/statuses/fd4b4a11b7aab0e76aa2c8680e56c0bf688d43d0"}}}}
{"actor":{"display_login":"aggFTW"}}