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

Shreepadma Venugopalan commented on HIVE-4628:
----------------------------------------------

Good catch Tejas. Looks like this is not an issue any more. I've set the 
appropriate status.
                
> 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

Reply via email to