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

updatedBlockStatuses does not update correctly when removing blocks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2, 1.6.1
    • Fix Version/s: 1.6.2, 2.0.0
    • Component/s: Spark Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: