hive-issues mailing list archives

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


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

View raw message