warrenzhu25 commented on a change in pull request #29247:
URL: https://github.com/apache/spark/pull/29247#discussion_r551494734
##########
File path:
core/src/main/scala/org/apache/spark/status/api/v1/OneApplicationResource.scala
##########
@@ -52,6 +53,25 @@ private[v1] class AbstractApplicationResource extends
BaseAppResource {
@Path("executors")
def executorList(): Seq[ExecutorSummary] = withUI(_.store.executorList(true))
+ @GET
+ @Path("executorMetricsDistribution")
+ def executorSummary(
+ @QueryParam("activeOnly") @DefaultValue("true") activeOnly: Boolean,
+ @DefaultValue("0.05,0.25,0.5,0.75,0.95") @QueryParam("quantiles")
quantileString: String)
Review comment:
To keep consistency with `/taskSummary` api in
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/status/api/v1/StagesResource.scala#L77,
I used this default quantiles.
And it seems stage page provided its own percentiles as below in
https://github.com/apache/spark/blob/master/core/src/main/resources/org/apache/spark/ui/static/stagepage.js#L617
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]