Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/10058#discussion_r47577662
--- Diff:
core/src/main/scala/org/apache/spark/status/api/v1/ExecutorListResource.scala
---
@@ -28,9 +28,13 @@ private[v1] class ExecutorListResource(ui: SparkUI) {
@GET
def executorList(): Seq[ExecutorSummary] = {
val listener = ui.executorsListener
- val storageStatusList = listener.storageStatusList
- (0 until storageStatusList.size).map { statusId =>
- ExecutorsPage.getExecInfo(listener, statusId)
+ val activeStorageStatusList = listener.activeStorageStatusList
+ val deadStorageStatusList = listener.deadStorageStatusList
+ (0 until activeStorageStatusList.size).map { statusId =>
+ ExecutorsPage.getExecInfo(listener, statusId, true)
+ } ++
+ (0 until deadStorageStatusList.size).map { statusId =>
+ ExecutorsPage.getExecInfo(listener, statusId, false)
--- End diff --
please name boolean parameters
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]