You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sanghyun Yun (JIRA)" <ji...@apache.org> on 2016/11/21 01:09:58 UTC

[jira] [Assigned] (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 reassigned HIVE-7752:
----------------------------------

    Assignee: Sanghyun Yun

> 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
>            Assignee: Sanghyun Yun
>            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)