[
https://issues.apache.org/jira/browse/HIVE-19199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438094#comment-16438094
]
Eugene Koifman commented on HIVE-19199:
---------------------------------------
+1
> 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
> Components: Transactions
> Affects Versions: 3.1.0
> Reporter: Gopal V
> Assignee: Gopal V
> Priority: Major
> Attachments: HIVE-19199.1.patch
>
>
> {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)