hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12583) HS2 ShutdownHookManager holds extra of Driver instance
Date Thu, 03 Dec 2015 19:34:10 GMT

    [ https://issues.apache.org/jira/browse/HIVE-12583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038421#comment-15038421
] 

Sergey Shelukhin commented on HIVE-12583:
-----------------------------------------

1) Can it be in a separate try-catch so if the method prior fails, it still gets released?
2) Optional: is it easy to extract part of the driver (e.g. just extract the locks if they
are all known or if the List is final in the ctx) in advance to pass to the hook, so it doesn't
have to reference the entire driver?

> 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-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)

Mime
View raw message