You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Shreepadma Venugopalan (JIRA)" <ji...@apache.org> on 2013/05/30 02:58:20 UTC

[jira] [Work started] (HIVE-4628) HS2 sessionmanager should synchronize the call to insert/remove session objects from session hash map

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

Work on HIVE-4628 started by Shreepadma Venugopalan.

> HS2 sessionmanager should synchronize the call to insert/remove session objects from session hash map
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4628
>                 URL: https://issues.apache.org/jira/browse/HIVE-4628
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.11.0
>            Reporter: Shreepadma Venugopalan
>            Assignee: Shreepadma Venugopalan
>            Priority: Critical
>
> HS2 SessionManager maintains a hashmap of active HS2 sessions. However, insert and deletes to this hashmap is not synchronized. A consequence of this is a racing thread could overwrite a valid session object in the hashmap and we could end up losing a session!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira