You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alex Bozarth (JIRA)" <ji...@apache.org> on 2016/06/09 18:36:20 UTC

[jira] [Closed] (SPARK-11516) Spark application cannot be found from JSON API even though it exists

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

Alex Bozarth closed SPARK-11516.
--------------------------------
    Resolution: Workaround

Closing as Workaround since turning on eventLogging fixes this

> Spark application cannot be found from JSON API even though it exists
> ---------------------------------------------------------------------
>
>                 Key: SPARK-11516
>                 URL: https://issues.apache.org/jira/browse/SPARK-11516
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 1.4.1, 1.5.1
>            Reporter: Matt Cheah
>
> I'm running a Spark standalone cluster on my mac and playing with the JSON API. I start both the master and the worker daemons, then start a Spark shell.
> When I hit
> {code}
> http://localhost:8080/api/v1/applications
> {code}
> I get back
> {code}
> [ {
>   "id" : "app-20151104181347-0000",
>   "name" : "Spark shell",
>   "attempts" : [ {
>     "startTime" : "2015-11-05T02:13:47.980GMT",
>     "endTime" : "1969-12-31T23:59:59.999GMT",
>     "sparkUser" : "mcheah",
>     "completed" : false
>   } ]
> } ]
> {code}
> But when I hit
> {code}
> http://localhost:8080/api/v1/applications/app-20151104181347-0000/executors
> {code}
> To look for executor data for the job, I get back
> {code}
> no such app: app-20151104181347-0000
> {code}
> even though the application exists.



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