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

Siddharth Seth updated HIVE-15731:
----------------------------------
    Attachment: HIVE-15731.01.patch

[~sershe] - could you please take a look at the patch.

The main change is to check, ignore and reset the interrupt status in 
TezSessionPoolManager.returnSession

The original interrupt hits Hadoop IPC - which catches Interrupt, sets the 
interrupt status and throws an IOException.

[~thejas] - this happens when a ^C is issued in the middle of query execution. 
I'm not sure what eventually clears the interrupt status. Maybe the threadpool?

> sessions are not returned to the sessionPool in case of an interrupt
> --------------------------------------------------------------------
>
>                 Key: HIVE-15731
>                 URL: https://issues.apache.org/jira/browse/HIVE-15731
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>            Priority: Critical
>         Attachments: HIVE-15731.01.patch
>
>
> While returning a session to the pool, the interrupt status on the thread 
> seems to be set, which causes the pool return to fail.
> The session slot is useless at this point. A HS2 instance configured for a 
> single session will stop running queries.



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

Reply via email to