You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sanghyun Yun (JIRA)" <ji...@apache.org> on 2014/09/26 06:39:34 UTC
[jira] [Updated] (HIVE-7752) isClosed is accessed without holding
lock in HiveClientCache#CacheableHiveMetaStoreClient#isClosed()
[ 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)