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

blockManagerIdCache in BlockManagerId may cause oom

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2.1
    • Fix Version/s: 2.2.2, 2.3.1, 2.4.0
    • Component/s: Deploy, Spark Core
    • Labels:
      None

      Description

      blockManagerIdCache in BlockManagerId will not remove old values which may cause oom

      val blockManagerIdCache = new ConcurrentHashMap[BlockManagerId, BlockManagerId]()
      

      Since whenever we apply a new BlockManagerId, it will put into this map.

      below is an jmap:

        Attachments

        1. elepahnt-oom1.png
          92 kB
          zhoukang
        2. elephant-oom.png
          93 kB
          zhoukang

          Activity

            People

            • Assignee:
              cane zhoukang
              Reporter:
              cane zhoukang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: