You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2019/08/09 15:18:00 UTC
[jira] [Created] (SPARK-28679) Spark Yarn ResourceRequestHelper
shouldn't lookup setResourceInformation is no resources specified
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org