[ https://issues.apache.org/jira/browse/HIVE-7752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanghyun Yun updated HIVE-7752: ------------------------------- Attachment: HIVE-7752.patch I add "synchronized" keyword. > 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)