[
https://issues.apache.org/jira/browse/HIVE-12221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967869#comment-14967869
]
Thiruvel Thirumoolan commented on HIVE-12221:
---------------------------------------------
Good catch, thanks for raising this!
May I know the problem you ran into? I guess its multiple threads trying to get
objects before the cache initialization was complete?
> 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)