You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2018/04/13 23:29:00 UTC

[jira] [Commented] (HIVE-19199) ACID: DbTxnManager heartbeat-service needs static sync init

    [ 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)