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

Use java.util.HashMap.remove by mistake in BlockManagerMasterActor.removeBlockManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • Spark Core

    Description

      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)".

      Attachments

        Activity

          People

            zsxwing Shixiong Zhu
            zsxwing Shixiong Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: