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/09/28 07:12:33 UTC

[jira] [Resolved] (SPARK-3651) Consolidate executor maps in CoarseGrainedSchedulerBackend

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

Reynold Xin resolved SPARK-3651.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> Consolidate executor maps in CoarseGrainedSchedulerBackend
> ----------------------------------------------------------
>
>                 Key: SPARK-3651
>                 URL: https://issues.apache.org/jira/browse/SPARK-3651
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.1.0
>            Reporter: Andrew Or
>            Assignee: Dale Richardson
>             Fix For: 1.2.0
>
>
> In CoarseGrainedSchedulerBackend, we have:
> {code}
>     private val executorActor = new HashMap[String, ActorRef]
>     private val executorAddress = new HashMap[String, Address]
>     private val executorHost = new HashMap[String, String]
>     private val freeCores = new HashMap[String, Int]
>     private val totalCores = new HashMap[String, Int]
> {code}
> We only ever put / remove stuff from these maps together. It would simplify the code if we consolidate these all into one map as we have done in JobProgressListener in https://issues.apache.org/jira/browse/SPARK-2299.



--
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