[ https://issues.apache.org/jira/browse/SPARK-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286416#comment-14286416 ]
Ted Yu commented on SPARK-1714: ------------------------------- allocatedHostToContainersMap.synchronized is absent for the following operation in runAllocatedContainers(): {code} val containerSet = allocatedHostToContainersMap.getOrElseUpdate(executorHostname, new HashSet[ContainerId]) containerSet += containerId allocatedContainerToHostMap.put(containerId, executorHostname) {code} Is that intentional ? > Take advantage of AMRMClient APIs to simplify logic in YarnAllocationHandler > ---------------------------------------------------------------------------- > > Key: SPARK-1714 > URL: https://issues.apache.org/jira/browse/SPARK-1714 > Project: Spark > Issue Type: Improvement > Components: YARN > Affects Versions: 1.2.0 > Reporter: Sandy Ryza > Assignee: Sandy Ryza > Fix For: 1.3.0 > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org