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

Shubham Gupta commented on SPARK-21398:
---------------------------------------

I am using yarn so , I called using 
`api/v1/applications/[app-id]/[attempt-id]/allexecutors` , and in my scala 
script I am calling it using the `scala.io.Source.fromURL(url)`.
I am getting the respective JSON of executor summary but all the time I am 
fetching the data I am getting the same JSON besides that I have a lot of new 
executors allocated and deallocated.

> Data on Rest end point is not updating after first fetch
> --------------------------------------------------------
>
>                 Key: SPARK-21398
>                 URL: https://issues.apache.org/jira/browse/SPARK-21398
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Shubham Gupta
>
> I am was fetching data from Rest End Point for Spark application but I 
> observed that I am always getting the same data which I got for the first 
> time I fetched Rest data.This bug is a blocker for me to calculate some 
> metrics.



--
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