You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Slawski (JIRA)" <ji...@apache.org> on 2016/07/19 22:55:20 UTC
[jira] [Updated] (HIVE-14290) Refactor HIVE-14054 to use
Collections#newSetFromMap
[ https://issues.apache.org/jira/browse/HIVE-14290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Slawski updated HIVE-14290:
---------------------------------
Attachment: HIVE-14290.1.patch
> Refactor HIVE-14054 to use Collections#newSetFromMap
> ----------------------------------------------------
>
> Key: HIVE-14290
> URL: https://issues.apache.org/jira/browse/HIVE-14290
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Affects Versions: 2.1.0
> Reporter: Peter Slawski
> Assignee: Peter Slawski
> Priority: Trivial
> Attachments: HIVE-14290.1.patch
>
>
> There is a minor refactor that can be made to HiveMetaStoreChecker so that it cleanly creates and uses a set that is backed by a Map implementation. In this case, the underlying Map implementation is ConcurrentHashMap. This refactor will help prevent issues such as the one reported in HIVE-14054.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)