You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/09/13 19:18:45 UTC

[jira] [Assigned] (SPARK-10571) Spark REST / JSON API mixes up application names and application ids

     [ https://issues.apache.org/jira/browse/SPARK-10571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-10571:
------------------------------------

    Assignee:     (was: 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
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org