You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jeanlyn (JIRA)" <ji...@apache.org> on 2016/03/29 18:02:25 UTC

[jira] [Commented] (SPARK-14243) updatedBlockStatuses does not update correctly when removing blocks

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

jeanlyn commented on SPARK-14243:
---------------------------------

[~andrewor14]  Let me know if the descriptions does not detail enough. Also, I will try to fix it these day. :-)

> updatedBlockStatuses does not update correctly when removing blocks
> -------------------------------------------------------------------
>
>                 Key: SPARK-14243
>                 URL: https://issues.apache.org/jira/browse/SPARK-14243
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.5.2, 1.6.1
>            Reporter: jeanlyn
>
> Currently, *updatedBlockStatuses* of *TaskMetrics* does not update correctly when removing blocks in *BlockManager.removeBlock* and the method invoke *removeBlock*. See:
> branch-1.6:https://github.com/apache/spark/blob/branch-1.6/core/src/main/scala/org/apache/spark/storage/BlockManager.scala#L1108
> branch-1.5:https://github.com/apache/spark/blob/branch-1.5/core/src/main/scala/org/apache/spark/storage/BlockManager.scala#L1101
> We should make sure *updatedBlockStatuses* update correctly when:
> * Block removed from BlockManager
> * Block dropped from memory to disk
> * Block added to BlockManager



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