hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Slawski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-14290) Refactor HIVE-14054 to use Collections#newSetFromMap
Date Thu, 21 Jul 2016 04:10:20 GMT

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

Mime
View raw message