[ https://issues.apache.org/jira/browse/SPARK-13064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122086#comment-15122086 ]
Marcelo Vanzin commented on SPARK-13064: ---------------------------------------- The real reason it's not set is because {{YarnClientSchedulerBackend}} will not set an attempt ID in SparkContext (since it doesn't know it). I don't really have an opinion about changing this in any way. > api/v1/application/jobs/attempt lacks "attempId" field for spark-shell > ---------------------------------------------------------------------- > > Key: SPARK-13064 > URL: https://issues.apache.org/jira/browse/SPARK-13064 > Project: Spark > Issue Type: Improvement > Reporter: Zhuo Liu > Priority: Minor > > For any application launches with spark-shell will not have attemptId field > in their rest API. From the REST API point of view, we might want to force an > Id for it, i.e., "1". > {code} > { > "id" : "application_1453789230389_377545", > "name" : "PySparkShell", > "attempts" : [ { > "startTime" : "2016-01-28T02:17:11.035GMT", > "endTime" : "2016-01-28T02:30:01.355GMT", > "lastUpdated" : "2016-01-28T02:30:01.516GMT", > "duration" : 770320, > "sparkUser" : "huyng", > "completed" : true > } ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org