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

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

    [ https://issues.apache.org/jira/browse/SPARK-41254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638292#comment-17638292 ] 

Apache Spark commented on SPARK-41254:
--------------------------------------

User 'CavemanIV' has created a pull request for this issue:
https://github.com/apache/spark/pull/38790

> 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.1.0, 3.2.0, 3.3.1
>            Reporter: Zhang Liang
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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