You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2016/07/14 17:44:20 UTC

[jira] [Commented] (HIVE-14239) Change OperationManager to serve each session and make it threadsafe

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

Aihua Xu commented on HIVE-14239:
---------------------------------

[~zxu] FYI.

> Change OperationManager to serve each session and make it threadsafe
> --------------------------------------------------------------------
>
>                 Key: HIVE-14239
>                 URL: https://issues.apache.org/jira/browse/HIVE-14239
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>    Affects Versions: 2.0.1
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>
> Currently OperationManager is designed to hold all the operations from all the sessions. It will cause the functions to unnecessarily sync between the operations across the sessions. And also there are some functions are not threadsafe which could be the cause for invalid OperationHandle.
> Plan to change OperationManager to just serve one session and make it a helper class for HiveSession rather than a service which doesn't seem to  be needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)