WeichenXu123 commented on issue #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#issuecomment-515943949
 
 
   I modify my approach, add an RPC interface like:
   ```
     def askCancelable[T: ClassTag](
         message: Any,
         timeout: RpcTimeout): CancelableFuture[T]
   ```
   See my PR description for details.
   
   This approach add less and simpler code into RPC framework.
   CC @zsxwing @cloud-fan 

----------------------------------------------------------------
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]

Reply via email to