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

Daniel Dai updated HIVE-12583:
------------------------------
    Attachment: HIVE-12583.2.patch

1) Yes, it should not be inside the try-catch block. Attach a new patch.
2) The lock list is dynamically maintained inside Driver, it cannot be exacted 
out at the moment of adding to shutdown hook.

> HS2 ShutdownHookManager holds extra of Driver instance 
> -------------------------------------------------------
>
>                 Key: HIVE-12583
>                 URL: https://issues.apache.org/jira/browse/HIVE-12583
>             Project: Hive
>          Issue Type: Bug
>          Components: Locking
>    Affects Versions: 1.3.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>         Attachments: HIVE-12583.1.patch, HIVE-12583.2.patch
>
>
> HIVE-12266 add a shutdown hook for every Driver instance to release the lock 
> th session holds in case Driver does not exist elegantly. However, that holds 
> all Driver instances and HS2 may run out of memory.



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

Reply via email to