hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanghyun Yun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7752) isClosed is accessed without holding lock in HiveClientCache#CacheableHiveMetaStoreClient#isClosed()
Date Fri, 26 Sep 2014 04:39:34 GMT

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

Sanghyun Yun updated HIVE-7752:
-------------------------------
    Status: Patch Available  (was: Open)

> isClosed is accessed without holding lock in HiveClientCache#CacheableHiveMetaStoreClient#isClosed()
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-7752
>                 URL: https://issues.apache.org/jira/browse/HIVE-7752
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>         Attachments: HIVE-7752.patch
>
>
> Assignment to isClosed is protected by holding lock "CacheableHiveMetaStoreClient.this"
> {code}
>     public boolean isClosed() {
>       return isClosed;
> {code}
> The above method should carry synchronized keyword.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message