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

blockManagerIdCache in BlockManagerId may cause oom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.1, 2.2.1
    • 2.2.2, 2.3.1, 2.4.0
    • Deploy, Spark Core
    • 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. elephant-oom.png
          93 kB
          zhoukang
        2. elepahnt-oom1.png
          92 kB
          zhoukang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: