[ 
https://issues.apache.org/jira/browse/HIVE-12221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967832#comment-14967832
 ] 

Sushanth Sowmyan commented on HIVE-12221:
-----------------------------------------

Per Roshan's mail to me, adding in a reference : 
https://en.wikipedia.org/wiki/Double-checked_locking#Usage_in_Java

> Concurrency issue in HCatUtil.getHiveMetastoreClient() 
> -------------------------------------------------------
>
>                 Key: HIVE-12221
>                 URL: https://issues.apache.org/jira/browse/HIVE-12221
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Roshan Naik
>
> HCatUtil.getHiveMetastoreClient()  uses double checked locking pattern
> to implement singleton, which is a broken pattern



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

Reply via email to