You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Slawski (JIRA)" <ji...@apache.org> on 2016/07/19 22:54:20 UTC

[jira] [Created] (HIVE-14290) Refactor HIVE-14054 to use Collections#newSetFromMap

Peter Slawski created HIVE-14290:
------------------------------------

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


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)