You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2018/06/06 06:59:00 UTC

[jira] [Created] (HIVE-19813) SessionState.start don't have to be synchronized

Daniel Dai created HIVE-19813:
---------------------------------

             Summary: 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


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)