Alexander Kolbasov created HIVE-18039:
-----------------------------------------

             Summary: Use ConcurrentHashMap for CachedStore
                 Key: HIVE-18039
                 URL: https://issues.apache.org/jira/browse/HIVE-18039
             Project: Hive
          Issue Type: Improvement
          Components: Hive
    Affects Versions: 3.0.0
            Reporter: Alexander Kolbasov


SharedCache used by CachedStore uses single big lock to synchronize all access. 
This looks like an overkill - looks like it is possible to use 
ConcurrentHashMap instead. Also it makes sense to move deepCopy() operations 
outside the lock to reduce lock hold times.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to