You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhang Liang (Jira)" <ji...@apache.org> on 2022/11/24 13:12:00 UTC

[jira] [Created] (SPARK-41254) YarnAllocator.rpIdToYarnResource map is not properly updated

Zhang Liang created SPARK-41254:
-----------------------------------

             Summary: YarnAllocator.rpIdToYarnResource map is not properly updated
                 Key: SPARK-41254
                 URL: https://issues.apache.org/jira/browse/SPARK-41254
             Project: Spark
          Issue Type: Bug
          Components: YARN
    Affects Versions: 3.3.1, 3.2.0, 3.1.0
            Reporter: Zhang Liang


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_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org