agrawaldevesh commented on a change in pull request #29015:
URL: https://github.com/apache/spark/pull/29015#discussion_r455392886
##########
File path: core/src/main/scala/org/apache/spark/deploy/DeployMessage.scala
##########
@@ -108,6 +108,9 @@ private[deploy] object DeployMessages {
case class Heartbeat(workerId: String, worker: RpcEndpointRef) extends
DeployMessage
+ // Out of band commands to Master
+ case class DecommissionHostPorts(hostPorts: Seq[String])
Review comment:
I am narrowing the scope to simply decommission a bunch of hostnames,
and all workers within a host will go away. This is the only production use
case I have in mind and there is no need to design for the flexibility of
wanting to decommission an individual worker on the node.
As such, I have renamed the API to `DecommissionHosts` and it takes a list
of host names.
----------------------------------------------------------------
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]