You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/12/05 11:51:09 UTC

[GitHub] [incubator-kyuubi] cxzl25 commented on pull request #3884: Execute scala code supports asynchronous and query timeout

cxzl25 commented on PR #3884:
URL: https://github.com/apache/incubator-kyuubi/pull/3884#issuecomment-1337201983

   > Meanwhile, I have a question, if it is not a spark job, can it be canceled correctly if the operation times out?
   
   If the Scala code submits a Spark job, the query times out at this time, the thread will be interrupted, and the corresponding job will be canceled through the `JobGroupId`.
   
   If Scala code does not submit the Spark job, it is just some scala. When the code does not respond to interrupt, it will not be really cancelled. Just like Spark executor kill task, it just tries to interrupt thread.
   
   


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org