[ https://issues.apache.org/jira/browse/HIVE-19776?focusedWorklogId=445128&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-445128 ]
ASF GitHub Bot logged work on HIVE-19776: ----------------------------------------- Author: ASF GitHub Bot Created on: 12/Jun/20 19:48 Start Date: 12/Jun/20 19:48 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #363: URL: https://github.com/apache/hive/pull/363#issuecomment-643454705 Fixed through JIRA: https://issues.apache.org/jira/browse/HIVE-19776 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 445128) Time Spent: 20m (was: 10m) > 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 Nair > Assignee: Thejas Nair > Priority: Major > Labels: pull-request-available > Fix For: 3.1.0, 4.0.0 > > Attachments: HIVE-19776.1.patch, HIVE-19776.2.patch, > HIVE-19776.3.patch > > Time Spent: 20m > Remaining Estimate: 0h > > 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 (v8.3.4#803005)