Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14243

updatedBlockStatuses does not update correctly when removing blocks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.2, 1.6.1
    • 1.6.2, 2.0.0
    • Spark Core
    • None

    Description

      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

      Attachments

        Activity

          People

            jeanlyn jeanlyn
            jeanlyn jeanlyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: