hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-19199) ACID: DbTxnManager heartbeat-service needs static sync init
Date Fri, 13 Apr 2018 08:15:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-19199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gopal V updated HIVE-19199:
---------------------------
    Attachment: HIVE-19199.1.patch

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

Mime
View raw message