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

YarnAllocator.rpIdToYarnResource map is not properly updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0, 3.2.0, 3.3.1
    • 3.2.4, 3.3.2, 3.4.0
    • YARN
    • None

    Description

      Log messages "INFO YarnAllocator: Resource profile 0 doesn't exist, adding it" repeats multiple times in yarn stderr.

      The log should be outputted only once because it happens in YarnAllocator.createYarnResourceForResourceProfile on a default ResourceProfile

      After digging into the code, I found a bug caused by misleading usage of ConcurrentHashMap.contains

      Attachments

        Activity

          People

            John Zhang Zhang Liang
            John Zhang Zhang Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified