You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/10/31 17:01:00 UTC
[jira] [Created] (HIVE-22441) Metrics Subsytem Improvements
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)