hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19813) SessionState.start don't have to be synchronized
Date Thu, 07 Jun 2018 20:40:00 GMT

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

Daniel Dai commented on HIVE-19813:
-----------------------------------

Thanks for the suggestion. Patch updated.

> SessionState.start don't have to be synchronized
> ------------------------------------------------
>
>                 Key: HIVE-19813
>                 URL: https://issues.apache.org/jira/browse/HIVE-19813
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>            Priority: Major
>         Attachments: HIVE-19813.1.patch, HIVE-19813.2.patch
>
>
> This is introduced in HIVE-14690. However, only check-set block needs to be synchronized,
not the whole block. The method will start Tez AM, which is a long operation. Make the method
synchronized will serialize session start thus slow down hs2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message