cxzl25 commented on code in PR #3733:
URL: https://github.com/apache/celeborn/pull/3733#discussion_r3542023309
##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/Worker.scala:
##########
@@ -465,6 +465,9 @@ private[celeborn] class Worker(
workerSource.addGauge(WorkerSource.ACTIVE_SLOTS_COUNT) { () =>
workerInfo.usedSlots()
}
+ workerSource.addGauge(WorkerSource.AVAILABLE_SLOTS_COUNT) { () =>
+ workerInfo.totalAvailableSlots()
Review Comment:
In theory, the worker's available Slots should always be 0? It is
dynamically calculated by the master, so this information is only available in
the master?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]