xuanyuanking commented on a change in pull request #25235: [SPARK-28483][Core]
Fix canceling a spark job using barrier mode but barrier tasks blocking on
BarrierTaskContext.barrier()
URL: https://github.com/apache/spark/pull/25235#discussion_r307760875
##########
File path: core/src/main/scala/org/apache/spark/rpc/netty/Outbox.scala
##########
@@ -74,6 +74,14 @@ private[netty] case class RpcOutboxMessage(
}
}
+ def onCancel(): Unit = {
Review comment:
As the implement of `onTimeout` and `onCancel` almost the same, how about
combining them as onTerminate
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]