[ https://issues.apache.org/jira/browse/HIVE-17273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mithun Radhakrishnan updated HIVE-17273: ---------------------------------------- Attachment: HIVE-17273.1.patch Here's the initial crack at a fix. > MergeFileTask needs to be interruptible > --------------------------------------- > > Key: HIVE-17273 > URL: https://issues.apache.org/jira/browse/HIVE-17273 > Project: Hive > Issue Type: Bug > Affects Versions: 2.2.0, 3.0.0 > Reporter: Mithun Radhakrishnan > Assignee: Mithun Radhakrishnan > Attachments: HIVE-17273.1.patch > > > This is an extension to the work done in HIVE-16820 (which made {{TezTask}} > exit correctly when the job is cancelled.) > If a Hive job involves a {{MergeFileTask}} (say {{ALTER TABLE ... PARTITION > ... CONCATENATE}}), and is cancelled *after* the merge-task has kicked off, > then the merge-task might not be cancelled, and might run through to > completion. > The code should check if the merge-job has already been scheduled, and cancel > it if required. -- This message was sent by Atlassian JIRA (v6.4.14#64029)