spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Or (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-6079) Use index to speed up StatusTracker.getJobIdsForGroup()
Date Tue, 24 Mar 2015 21:42:53 GMT

     [ https://issues.apache.org/jira/browse/SPARK-6079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Or updated SPARK-6079:
-----------------------------
    Affects Version/s: 1.3.0

> Use index to speed up StatusTracker.getJobIdsForGroup()
> -------------------------------------------------------
>
>                 Key: SPARK-6079
>                 URL: https://issues.apache.org/jira/browse/SPARK-6079
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.3.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> {{StatusTracker.getJobIdsForGroup()}} is implemented via a linear scan over a HashMap
rather than using an index.  This might be an expensive operation if there are many (e.g.
thousands) of retained jobs.  We can add a new index to speed this up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message