spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shixiong Zhu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-1583) Use java.util.HashMap.remove by mistake in BlockManagerMasterActor.removeBlockManager
Date Wed, 23 Apr 2014 06:37:27 GMT

    [ https://issues.apache.org/jira/browse/SPARK-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13977895#comment-13977895
] 

Shixiong Zhu commented on SPARK-1583:
-------------------------------------

PR: https://github.com/apache/spark/pull/500

> Use java.util.HashMap.remove by mistake in BlockManagerMasterActor.removeBlockManager
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-1583
>                 URL: https://issues.apache.org/jira/browse/SPARK-1583
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>              Labels: easyfix
>
> The following code in BlockManagerMasterActor.removeBlockManager uses a value to remove
an entry from java.util.HashMap.
>       if (locations.size == 0) {
>         blockLocations.remove(locations)
>       }
> Should change to "blockLocations.remove(blockId)".



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

Mime
View raw message