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 Tue, 31 Jul 2018 21: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:
---------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>              Labels: Branch3Candidate
>             Fix For: 3.2.0
>
>         Attachments: HIVE-19199.1.patch, 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