Chaoyu Tang commented on HIVE-12266:

[~wzheng], To my understand, this JIRA could only address the issue for CLI, 
but not for beeline. Since the shutdown hook could only be invoked when JVM 
running the Driver is shutdown, in beeline case, the beeline is running in a 
different JVM from HS2. Is that correct? 

> When client exists abnormally, it doesn't release ACID locks
> ------------------------------------------------------------
>                 Key: HIVE-12266
>                 URL: https://issues.apache.org/jira/browse/HIVE-12266
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Wei Zheng
>             Fix For: 1.3.0, 2.0.0
>         Attachments: HIVE-12266.1.patch, HIVE-12266.2.patch, 
> HIVE-12266.3.patch, HIVE-12266.branch-1.patch
> if you start Hive CLI (locking enabled) and run some command that acquires 
> locks and ^C the shell before command completes the locks for the command 
> remain until they timeout.
> I believe Beeline has the same issue.
> Need to add proper hooks to release locks when command dies. (As much as 
> possible)

This message was sent by Atlassian JIRA

Reply via email to