You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2015/08/03 22:35:04 UTC

[jira] [Commented] (SPARK-5439) Expose yarn app id for yarn mode

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

Marcelo Vanzin commented on SPARK-5439:
---------------------------------------

There are 3 ways to get the app id:

- Calling {{SparkContext.applicationId}}
- Using a listener and processing {{SparkListenerApplicationStart}}
- If using the launcher library, this will be provided by SPARK-8673.

I don't see what else needs to be done here.

> Expose yarn app id for yarn mode
> --------------------------------
>
>                 Key: SPARK-5439
>                 URL: https://issues.apache.org/jira/browse/SPARK-5439
>             Project: Spark
>          Issue Type: Improvement
>          Components: YARN
>    Affects Versions: 1.0.0
>            Reporter: bc Wong
>
> When submitting Spark apps on YARN, the caller should be able to get back the YARN app ID programmatically. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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