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

Daniel Dai updated HIVE-19813:
------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 4.0.0
                   3.1.0
           Status: Resolved  (was: Patch Available)

Patch pushed to both branch-3 and master. Thanks Sergey for review!

> 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
>             Fix For: 3.1.0, 4.0.0
>
>         Attachments: HIVE-19813.1.patch, HIVE-19813.2.patch, 
> HIVE-19813.3.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)

Reply via email to