Siddharth Seth created HIVE-13858:
-------------------------------------

             Summary: LLAP: A preempted task can end up waiting on 
completeInitialization if some part of the executing code suppressed the 
interrupt
                 Key: HIVE-13858
                 URL: https://issues.apache.org/jira/browse/HIVE-13858
             Project: Hive
          Issue Type: Bug
            Reporter: Siddharth Seth
            Assignee: Siddharth Seth
            Priority: Critical


An interrupt along with a HiveProcessor.abort call is made when attempting to 
preempt a task.

In this specific case, the task was in the middle of HDFS IO - which 'handled' 
the interrupt by retrying. As a result the interrupt status on the thread was 
reset - so instead of skipping the future.get in completeInitialization - the 
task ended up blocking there.

End result - a single executor slot permanently blocked in LLAP. Depending on 
what else is running - this can cause a cluster level deadlock.



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

Reply via email to