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

Alessandro Bellina commented on SPARK-28679:
--------------------------------------------

Working on it.

> Spark Yarn ResourceRequestHelper shouldn't lookup setResourceInformation is 
> no resources specified
> --------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-28679
>                 URL: https://issues.apache.org/jira/browse/SPARK-28679
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 3.0.0
>            Reporter: Thomas Graves
>            Priority: Minor
>
> in the Spark Yarn ResourceRequestHelper it uses reflection to lookup 
> setResourceInformation. We should skip that lookup if the resource Map is 
> empty.
> [https://github.com/apache/spark/blob/master/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ResourceRequestHelper.scala#L154]
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to