You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2018/04/13 08:12:00 UTC
[jira] [Created] (HIVE-19199) ACID: DbTxnManager heartbeat-service
needs static sync init
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)