abhishekd0907 commented on code in PR #35683:
URL: https://github.com/apache/spark/pull/35683#discussion_r900689504
##########
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala:
##########
@@ -422,6 +446,22 @@ private[yarn] class YarnAllocator(
}
}
+ private def handleNodesInDecommissioningState(allocateResponse:
AllocateResponse): Unit = {
+ // Some of the nodes are put in decommissioning state where RM did allocate
+ // resources on those nodes for earlier allocateResource calls, so
notifying driver
+ // to put those executors in decommissioning state
+ allocateResponse.getUpdatedNodes.asScala.filter (node =>
+ node.getNodeState == NodeState.DECOMMISSIONING &&
Review Comment:
@tgravescs
i have created a PR for this, please review
https://github.com/apache/spark/pull/36890
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]