{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/4830","labels_url":"https://api.github.com/repos/apache/spark/issues/4830/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/4830/comments","events_url":"https://api.github.com/repos/apache/spark/issues/4830/events","html_url":"https://github.com/apache/spark/pull/4830","id":59331055,"number":4830,"title":"[SPARK-6079] Use index to speed up StatusTracker.getJobIdsForGroup()","user":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-02-28T07:40:05Z","updated_at":"2015-03-10T00:50:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4830","html_url":"https://github.com/apache/spark/pull/4830","diff_url":"https://github.com/apache/spark/pull/4830.diff","patch_url":"https://github.com/apache/spark/pull/4830.patch"},"body":"`StatusTracker.getJobIdsForGroup()` is implemented via a linear scan over a HashMap rather than using an index, which might be an expensive operation if there are many (e.g. thousands) of retained jobs.\r\n\r\nThis patch adds a new map to `JobProgressListener` in order to speed up these lookups."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/77976003","html_url":"https://github.com/apache/spark/pull/4830#issuecomment-77976003","issue_url":"https://api.github.com/repos/apache/spark/issues/4830","id":77976003,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T00:50:25Z","updated_at":"2015-03-10T00:50:25Z","body":"  [Test build #28412 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28412/consoleFull) for   PR 4830 at commit [`2c49614`](https://github.com/apache/spark/commit/2c49614cc4f92dc1a47044be362db51cfe4da77b).\n * This patch **passes all tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}