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

[jira] [Created] (HIVE-19776) HS2 retry of start has concurrency issues

Thejas M Nair created HIVE-19776:
------------------------------------

             Summary: HS2 retry of start has concurrency issues
                 Key: HIVE-19776
                 URL: https://issues.apache.org/jira/browse/HIVE-19776
             Project: Hive
          Issue Type: Improvement
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair


HS2 starts the thrift binary/http servers in background, while it proceeds to do other setup (eg create zookeeper entries). If there is a ZK error and it attempts to stop and start in the retry loop within HiveServer2.startHiveServer2, the retry fails because the thrift server doesn't get stopped if it was still getting initialized.

The thrift server initialization and stopping needs to be synchronized.




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