You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Imran Rashid (JIRA)" <ji...@apache.org> on 2018/01/26 16:16:00 UTC

[jira] [Updated] (SPARK-23236) Make it easier to find the rest API, especially in local mode

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

Imran Rashid updated SPARK-23236:
---------------------------------
    Labels: newbie  (was: )

> Make it easier to find the rest API, especially in local mode
> -------------------------------------------------------------
>
>                 Key: SPARK-23236
>                 URL: https://issues.apache.org/jira/browse/SPARK-23236
>             Project: Spark
>          Issue Type: Improvement
>          Components: Web UI
>    Affects Versions: 2.3.0
>            Reporter: Imran Rashid
>            Priority: Trivial
>              Labels: newbie
>
> This is really minor, but it always takes me a little bit to figure out how to get from the UI to the rest api.  Its especially a pain in local-mode, where you need the app-id, though in general I don't know the app-id, so have to either look in logs or go to another endpoint first in the ui just to find the app-id.  While it wouldn't really help anybody accessing the endpoints programmatically, we could make it easier for someone doing exploration via their browser.
> Some things which could be improved:
> * /api/v1 just provides a link to "/api/v1/applications"
> * /api provides a link to "/api/v1/applications"
> * /api/v1/applications/[app-id] gives a list of links for the other endpoints
> * on the UI, there is a link to at least /api/v1/applications/[app-id] -- better still if each UI page links to the corresponding endpoint, eg. the all jobs page would link to /api/v1/applications/[app-id]/jobs



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org