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

Rahul Gupta commented on SPARK-21200:
-------------------------------------

[~sowen] I was facing similar issue, and wanted to know the best way to report 
this issue.
Tracing down to code, in Spark 1.6 the rest API was exposed via the Master UI
./core/src/main/scala/org/apache/spark/deploy/master/ui/MasterWebUI.scala:    
attachHandler(ApiRootResource.getServletHandler(this))

Spark 2.0 onwards, I see this was removed and no way to access the 
api/v1/applications from master url
hitting the URL 
http://localhost:8080/api/v1/applications renders the same page as 
http://localhost:8080

Thanks,
Rahul

> Spark REST API is not working or Spark documentation is wrong.
> --------------------------------------------------------------
>
>                 Key: SPARK-21200
>                 URL: https://issues.apache.org/jira/browse/SPARK-21200
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.1.1
>            Reporter: Srinivasarao Daruna
>
> unable to access spark REST Api.
> Was able to access it as per the documentation in older version of spark. 
> But, with spark 2.1.1 when i tried to do the same, it is not working.
> Either a code bug or documentation has to be updated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to