David Mollitor created HIVE-22441:
-------------------------------------

             Summary: Metrics Subsytem Improvements
                 Key: HIVE-22441
                 URL: https://issues.apache.org/jira/browse/HIVE-22441
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 3.2.0
            Reporter: David Mollitor
            Assignee: David Mollitor


# CodahaleMetrics uses Guava LoadingCache, which is already thread-safe, and 
then puts an explicit lock around the structure.  Use Java 8 new Map API with 
ConcurrentHashMap.
# Introduce Java 8 APIs
# Simplifications
# Updated unit tests to no longer include a 'sleep'

https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/metrics/metrics2/CodahaleMetrics.java#L91-L94




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to