spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo Vanzin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-13064) api/v1/application/jobs/attempt lacks "attempId" field for spark-shell
Date Thu, 28 Jan 2016 17:52:39 GMT

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

Marcelo Vanzin commented on SPARK-13064:
----------------------------------------

IIRC no application launched in client mode will have an attempt id, because by definition
those have a single attempt.

> 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: Bug
>            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 a Id for it, i.g., "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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message