[ 
https://issues.apache.org/jira/browse/HIVE-10394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prasanth Jayachandran updated HIVE-10394:
-----------------------------------------
    Attachment: HIVE-10394.1.patch

[~seth.siddha...@gmail.com] Pre-emption of task currenly invokes 
future.cancel(true). This will send CancellationException to onFailure() 
handler. This patch just checks for CancellationException and reports to AM as 
task killed with INTERRUPTED_BY_SYSTEM as the reason. Is that sufficient enough 
for the notification part? I haven't tested this on the cluster yet.

> LLAP: Notify AM of pre-emption
> ------------------------------
>
>                 Key: HIVE-10394
>                 URL: https://issues.apache.org/jira/browse/HIVE-10394
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: llap
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-10394.1.patch
>
>
> Pre-empted tasks should be notified to AM as killed/interrupted by system.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to