[
https://issues.apache.org/jira/browse/SPARK-13064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122077#comment-15122077
]
Thomas Graves commented on SPARK-13064:
---------------------------------------
thanks [~vanzin] We can just have the rest api add it as a 1 if it doesn't
exist, unless you know a reason we shouldn't do this?
>From an api point of view I would prefer to see it always return the attempt
>id and for client mode it just always 1.
> 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: [email protected]
For additional commands, e-mail: [email protected]