hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushanth Sowmyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12221) Concurrency issue in HCatUtil.getHiveMetastoreClient()
Date Wed, 21 Oct 2015 20:33:27 GMT

    [ 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)

Mime
View raw message