[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to