Github user mridulm commented on the pull request:

    https://github.com/apache/incubator-spark/pull/628#issuecomment-35744380
  
    remove will remove the task from the queue assuming it is not yet started : 
but that should not be a problem - since task.kill sets flags such that it will 
not execute for long even if it was not removed.
    
    But once the task starts executing, unfortunately, there is no guaranteed 
way to kill it.
    You can try interrupting it - assuming the task responds to interruptions 
(and does not gobble up InterruptedException : particularly since it is 
executing user code).
    But other than that, I can think of a good solution ... 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
infrastruct...@apache.org or file a JIRA ticket with INFRA.
---

Reply via email to