{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/43474394","id":43474394,"diff_hunk":"@@ -102,7 +102,7 @@ private[ui] class ExecutorTable(stageId: Int, stageAttemptId: Int, parent: Stage\n \n     listener.stageIdToData.get((stageId, stageAttemptId)) match {\n       case Some(stageData: StageUIData) =>\n-        stageData.executorSummary.toSeq.sortBy(_._1).map { case (k, v) =>\n+        stageData.executorSummary.toSeq.sortBy(_._1.toLong).map { case (k, v) =>","path":"core/src/main/scala/org/apache/spark/ui/jobs/ExecutorTable.scala","position":5,"original_position":5,"commit_id":"7b2a351e60c4ca1df451caf2342e2fe97c402a0c","original_commit_id":"7b2a351e60c4ca1df451caf2342e2fe97c402a0c","user":{"login":"jbonofre","id":158903,"avatar_url":"https://avatars.githubusercontent.com/u/158903?v=3","gravatar_id":"","url":"https://api.github.com/users/jbonofre","html_url":"https://github.com/jbonofre","followers_url":"https://api.github.com/users/jbonofre/followers","following_url":"https://api.github.com/users/jbonofre/following{/other_user}","gists_url":"https://api.github.com/users/jbonofre/gists{/gist_id}","starred_url":"https://api.github.com/users/jbonofre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbonofre/subscriptions","organizations_url":"https://api.github.com/users/jbonofre/orgs","repos_url":"https://api.github.com/users/jbonofre/repos","events_url":"https://api.github.com/users/jbonofre/events{/privacy}","received_events_url":"https://api.github.com/users/jbonofre/received_events","type":"User","site_admin":false},"body":"I agree @srowen. I can call the sorttable sorting with something like onload. Let me try this.","created_at":"2015-10-30T06:11:49Z","updated_at":"2015-10-30T06:11:49Z","html_url":"https://github.com/apache/spark/pull/9165#discussion_r43474394","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/9165","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/43474394"},"html":{"href":"https://github.com/apache/spark/pull/9165#discussion_r43474394"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/9165"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9165","id":48034460,"html_url":"https://github.com/apache/spark/pull/9165","diff_url":"https://github.com/apache/spark/pull/9165.diff","patch_url":"https://github.com/apache/spark/pull/9165.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/9165","number":9165,"state":"open","locked":false,"title":"SPARK-6541 - Sort executors by ID (numeric)","user":{"login":"jbonofre","id":158903,"avatar_url":"https://avatars.githubusercontent.com/u/158903?v=3","gravatar_id":"","url":"https://api.github.com/users/jbonofre","html_url":"https://github.com/jbonofre","followers_url":"https://api.github.com/users/jbonofre/followers","following_url":"https://api.github.com/users/jbonofre/following{/other_user}","gists_url":"https://api.github.com/users/jbonofre/gists{/gist_id}","starred_url":"https://api.github.com/users/jbonofre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbonofre/subscriptions","organizations_url":"https://api.github.com/users/jbonofre/orgs","repos_url":"https://api.github.com/users/jbonofre/repos","events_url":"https://api.github.com/users/jbonofre/events{/privacy}","received_events_url":"https://api.github.com/users/jbonofre/received_events","type":"User","site_admin":false},"body":"\"Force\" the executor ID sort with Int.","created_at":"2015-10-19T06:14:47Z","updated_at":"2015-10-30T06:11:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19b613dd5c644a1ea81533fdf71a915dc9f1a03d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/9165/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/9165/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/9165/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/7b2a351e60c4ca1df451caf2342e2fe97c402a0c","head":{"label":"jbonofre:SPARK-6541","ref":"SPARK-6541","sha":"7b2a351e60c4ca1df451caf2342e2fe97c402a0c","user":{"login":"jbonofre","id":158903,"avatar_url":"https://avatars.githubusercontent.com/u/158903?v=3","gravatar_id":"","url":"https://api.github.com/users/jbonofre","html_url":"https://github.com/jbonofre","followers_url":"https://api.github.com/users/jbonofre/followers","following_url":"https://api.github.com/users/jbonofre/following{/other_user}","gists_url":"https://api.github.com/users/jbonofre/gists{/gist_id}","starred_url":"https://api.github.com/users/jbonofre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbonofre/subscriptions","organizations_url":"https://api.github.com/users/jbonofre/orgs","repos_url":"https://api.github.com/users/jbonofre/repos","events_url":"https://api.github.com/users/jbonofre/events{/privacy}","received_events_url":"https://api.github.com/users/jbonofre/received_events","type":"User","site_admin":false},"repo":{"id":41899955,"name":"spark","full_name":"jbonofre/spark","owner":{"login":"jbonofre","id":158903,"avatar_url":"https://avatars.githubusercontent.com/u/158903?v=3","gravatar_id":"","url":"https://api.github.com/users/jbonofre","html_url":"https://github.com/jbonofre","followers_url":"https://api.github.com/users/jbonofre/followers","following_url":"https://api.github.com/users/jbonofre/following{/other_user}","gists_url":"https://api.github.com/users/jbonofre/gists{/gist_id}","starred_url":"https://api.github.com/users/jbonofre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbonofre/subscriptions","organizations_url":"https://api.github.com/users/jbonofre/orgs","repos_url":"https://api.github.com/users/jbonofre/repos","events_url":"https://api.github.com/users/jbonofre/events{/privacy}","received_events_url":"https://api.github.com/users/jbonofre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbonofre/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/jbonofre/spark","forks_url":"https://api.github.com/repos/jbonofre/spark/forks","keys_url":"https://api.github.com/repos/jbonofre/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbonofre/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbonofre/spark/teams","hooks_url":"https://api.github.com/repos/jbonofre/spark/hooks","issue_events_url":"https://api.github.com/repos/jbonofre/spark/issues/events{/number}","events_url":"https://api.github.com/repos/jbonofre/spark/events","assignees_url":"https://api.github.com/repos/jbonofre/spark/assignees{/user}","branches_url":"https://api.github.com/repos/jbonofre/spark/branches{/branch}","tags_url":"https://api.github.com/repos/jbonofre/spark/tags","blobs_url":"https://api.github.com/repos/jbonofre/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbonofre/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbonofre/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbonofre/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbonofre/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/jbonofre/spark/languages","stargazers_url":"https://api.github.com/repos/jbonofre/spark/stargazers","contributors_url":"https://api.github.com/repos/jbonofre/spark/contributors","subscribers_url":"https://api.github.com/repos/jbonofre/spark/subscribers","subscription_url":"https://api.github.com/repos/jbonofre/spark/subscription","commits_url":"https://api.github.com/repos/jbonofre/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbonofre/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbonofre/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbonofre/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbonofre/spark/contents/{+path}","compare_url":"https://api.github.com/repos/jbonofre/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbonofre/spark/merges","archive_url":"https://api.github.com/repos/jbonofre/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbonofre/spark/downloads","issues_url":"https://api.github.com/repos/jbonofre/spark/issues{/number}","pulls_url":"https://api.github.com/repos/jbonofre/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/jbonofre/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/jbonofre/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbonofre/spark/labels{/name}","releases_url":"https://api.github.com/repos/jbonofre/spark/releases{/id}","created_at":"2015-09-04T05:48:58Z","updated_at":"2015-09-04T05:49:21Z","pushed_at":"2015-10-20T09:41:32Z","git_url":"git://github.com/jbonofre/spark.git","ssh_url":"git@github.com:jbonofre/spark.git","clone_url":"https://github.com/jbonofre/spark.git","svn_url":"https://github.com/jbonofre/spark","homepage":null,"size":127451,"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":"d3180c25d8cf0899a7238e7d24b35c5ae918cc1d","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}","created_at":"2014-02-25T08:00:08Z","updated_at":"2015-10-30T04:17:37Z","pushed_at":"2015-10-30T05:41:14Z","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":1647848,"stargazers_count":5949,"watchers_count":5949,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5537,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":370,"forks":5537,"open_issues":370,"watchers":5949,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/9165"},"html":{"href":"https://github.com/apache/spark/pull/9165"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/9165"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/9165/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/9165/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/9165/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/7b2a351e60c4ca1df451caf2342e2fe97c402a0c"}}}}