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

blockManagerIdCache in BlockManagerId may cause oom

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment