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

Srinivasarao Daruna edited comment on SPARK-21200 at 6/24/17 1:02 PM:
----------------------------------------------------------------------

Hi Sean / [~srowen],



What makes you think this is Invalid.

The documentation says, you can access the Rest API as per below link.
https://spark.apache.org/docs/latest/monitoring.html#rest-api

We normally schedule our cronjabs to check applications in our prod environment 
and also, we do send alerts over mail if any one of the job is not running or 
killed based on the response from Spark Rest response.

We integrated some of our monitoring solutions such as datadog, and in that we 
have custom alerts that gets triggered based on the rest api response.

I am not reporting something weird here, as i mentioned at least documentation 
needs to be updated if there is any update.

I tried this URL http://<server-url>:<web ui port>/api/v1/applications with 
changing versions etc. But, it was of no use. There seems to be a change to 
Rest end point. The same used to work with 1.6.1. What is the wrong or 
irrelevance that i reported here.?



was (Author: srini.daruna):
Hi Sean / [~srowen],



What makes you think this is Invalid.

The documentation says, you can access the Rest API as per below link.
https://spark.apache.org/docs/latest/monitoring.html#rest-api

We normally schedule our cronjabs to check applications in our prod environment 
and also, we do send alerts over mail if any one of the job is not running or 
killed based on the response from Spark Rest response.

I am not reporting something weird here, as i mentioned at least documentation 
needs to be updated if there is any update.

I tried this URL http://<server-url>:<web ui port>/api/v1/applications with 
changing versions etc. But, it was of no use. There seems to be a change to 
Rest end point. The same used to work with 1.6.1. What is the wrong or 
irrelevance that i reported here.?


> 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