[ 
https://issues.apache.org/jira/browse/HIVE-18888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16433006#comment-16433006
 ] 

Jason Dere commented on HIVE-18888:
-----------------------------------

FYI I believe this change caused HIVE-19156. There is a slight difference in 
behavior in that ConcurrentHashMap does not accept null keys or values. Might 
want to check the other places where ConcurrentHashMap was substituted in, in 
case this change is causing any unexpected NullPointerExceptions.

> Replace synchronizedMap with ConcurrentHashMap
> ----------------------------------------------
>
>                 Key: HIVE-18888
>                 URL: https://issues.apache.org/jira/browse/HIVE-18888
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.0.0, 2.3.3
>            Reporter: Alexander Kolbasov
>            Assignee: Alexander Kolbasov
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18888.01.patch, HIVE-18888.02.patch
>
>
> There are a bunch of places that use Collections.synchronizedMap instead of 
> ConcurrentHashMap which are better. We should search/replace the uses.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to