spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Rosen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-10571) Spark REST / JSON API mixes up application names and application ids
Date Fri, 11 Sep 2015 20:40:45 GMT
Josh Rosen created SPARK-10571:
----------------------------------

             Summary: 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


Mime
View raw message