Ted Yu created HIVE-7752:
----------------------------

             Summary: 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


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.2#6252)

Reply via email to