Thomas Graves created SPARK-28679:
-------------------------------------
Summary: 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
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]