[
https://issues.apache.org/jira/browse/HIVE-19776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499205#comment-16499205
]
ASF GitHub Bot commented on HIVE-19776:
---------------------------------------
GitHub user thejasmn opened a pull request:
https://github.com/apache/hive/pull/363
HIVE-19776 1.patch
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/thejasmn/hive HIVE-19776
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/363.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #363
----
commit 85c7505d3719415fb39707c43053fcf19f4fe838
Author: Thejas M Nair <thejas@...>
Date: 2018-06-02T19:46:08Z
HIVE-19776 1.patch
----
> HiveServer2.startHiveServer2 retries 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
> Priority: Major
> Labels: pull-request-available
>
> 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)