cloud-fan 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_r315104152
##########
File path: core/src/main/scala/org/apache/spark/BarrierTaskContext.scala
##########
@@ -117,12 +118,30 @@ class BarrierTaskContext private[spark] (
timer.schedule(timerTask, 60000, 60000)
try {
- barrierCoordinator.askSync[Unit](
+ val cancelableRpcFuture = barrierCoordinator.askAbortable[Unit](
Review comment:
abortableRpcFuture
----------------------------------------------------------------
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]