spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Bozarth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-11516) Spark application cannot be found from JSON API even though it exists
Date Thu, 05 May 2016 17:55:12 GMT

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

Alex Bozarth commented on SPARK-11516:
--------------------------------------

Looking through some older issues, what Charles said was right, any JSON API calls other than
the /api/v1/applications call require eventLogging to be enabled. To change this would require
significant refactoring, if enabling eventLogging was all you needed then I'd suggest closing
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


Mime
View raw message