You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/06/29 10:31:25 UTC

[jira] [Updated] (SPARK-2299) Consolidate various stageIdTo* hash maps

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

Reynold Xin updated SPARK-2299:
-------------------------------

    Assignee: Reynold Xin  (was: Andrew Or)

> Consolidate various stageIdTo* hash maps
> ----------------------------------------
>
>                 Key: SPARK-2299
>                 URL: https://issues.apache.org/jira/browse/SPARK-2299
>             Project: Spark
>          Issue Type: Improvement
>          Components: Web UI
>    Affects Versions: 1.0.0
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>
> In JobProgressListener:
> {code}
>   val stageIdToTime = HashMap[Int, Long]()
>   val stageIdToShuffleRead = HashMap[Int, Long]()
>   val stageIdToShuffleWrite = HashMap[Int, Long]()
>   val stageIdToMemoryBytesSpilled = HashMap[Int, Long]()
>   val stageIdToDiskBytesSpilled = HashMap[Int, Long]()
>   val stageIdToTasksActive = HashMap[Int, HashMap[Long, TaskInfo]]()
>   val stageIdToTasksComplete = HashMap[Int, Int]()
>   val stageIdToTasksFailed = HashMap[Int, Int]()
>   val stageIdToTaskData = HashMap[Int, HashMap[Long, TaskUIData]]()
>   val stageIdToExecutorSummaries = HashMap[Int, HashMap[String, ExecutorSummary]]()
>   val stageIdToPool = HashMap[Int, String]()
>   val stageIdToDescription = HashMap[Int, String]()
> {code}
> We should consolidate them to reduce memory & be less error prone. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)