Matt Cheah created SPARK-11516:
----------------------------------

             Summary: 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.5.1, 1.4.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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to