You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alessandro Bellina (JIRA)" <ji...@apache.org> on 2019/08/09 16:10:00 UTC

[jira] [Commented] (SPARK-28679) Spark Yarn ResourceRequestHelper shouldn't lookup setResourceInformation is no resources specified

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org