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

Marcelo Vanzin commented on SPARK-22372:
----------------------------------------

I could file a separate bug for that, but {{RestSubmissionClient}} (and 
standalone's {{Client}}) could also be changed to implement 
{{SparkApplication}}. Since that would probably be trivial compared to the YARN 
change, might as well do it in together.

> Make YARN client extend SparkApplication
> ----------------------------------------
>
>                 Key: SPARK-22372
>                 URL: https://issues.apache.org/jira/browse/SPARK-22372
>             Project: Spark
>          Issue Type: Improvement
>          Components: YARN
>    Affects Versions: 2.3.0
>            Reporter: Marcelo Vanzin
>
> For SPARK-11035 to work well, at least in cluster mode, YARN needs to 
> implement {{SparkApplication}} so that it doesn't use system properties to 
> propagate Spark configuration from spark-submit.
> There is a second complication, that YARN uses system properties to propagate 
> {{SPARK_YARN_MODE}} on top of other Spark configs. We should take a look at 
> either change that to a configuration, or remove {{SPARK_YARN_MODE}} 
> altogether if possible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to