hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreepadma Venugopalan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-4628) HS2 sessionmanager should synchronize the call to insert/remove session objects from session hash map
Date Thu, 30 May 2013 17:31:27 GMT

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

Shreepadma Venugopalan resolved HIVE-4628.
------------------------------------------

    Resolution: Not A Problem
    
> 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

Mime
View raw message