[
https://issues.apache.org/jira/browse/SPARK-10571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-10571:
------------------------------------
Assignee: Apache Spark
> Spark REST / JSON API mixes up application names and application ids
> --------------------------------------------------------------------
>
> Key: SPARK-10571
> URL: https://issues.apache.org/jira/browse/SPARK-10571
> Project: Spark
> Issue Type: Bug
> Components: Web UI
> Affects Versions: 1.5.0
> Reporter: Josh Rosen
> Assignee: Apache Spark
>
> The REST API documentation
> (https://spark.apache.org/docs/1.5.0/monitoring.html#rest-api) claims that
> the URLs incorporate application ids, but it appears that the actual
> implementation uses application _names_.
> For instance, when I browse to http://localhost:4041/api/v1/applications/
> locally with a 1.5.0 spark-shell:
> {code}
> [ {
> "id" : "Spark shell",
> "name" : "Spark shell",
> "attempts" : [ {
> "startTime" : "2015-09-11T19:58:26.673GMT",
> "endTime" : "1969-12-31T23:59:59.999GMT",
> "sparkUser" : "",
> "completed" : false
> } ]
> } ]
> {code}
> However, in spark-shell:
> {code}
> scala> sc.applicationId
> res2: String = local-1442001507533
> {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]