Gopal V created HIVE-19199:
------------------------------

             Summary: ACID: DbTxnManager heartbeat-service needs static sync 
init 
                 Key: HIVE-19199
                 URL: https://issues.apache.org/jira/browse/HIVE-19199
             Project: Hive
          Issue Type: Bug
            Reporter: Gopal V


{code}
private synchronized void initHeartbeatExecutorService() {
    if (heartbeatExecutorService != null && 
!heartbeatExecutorService.isShutdown()
        && !heartbeatExecutorService.isTerminated()) {
      return;
    }
...
{code}

heartbeatExecutorService is a static field, so this needs class sync, not 
object sync.



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

Reply via email to