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/01/27 23:59:34 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=14294362#comment-14294362 ] 

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

Hi bc, can you provide more context here? The {{SparkListenerApplicationStart}} event contains the app ID. I can see two issues with that:

- In client mode, that event is sent before the user code has a chance to register any listeners. This would be covered by SPARK-5190 and SPARK-5411.
- In cluster mode, there's no API to query. The only way at all, right now, would be to parse the stderr of the process doing the launching and look for the id.

> 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