You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/11/01 13:38:00 UTC
[jira] [Updated] (HIVE-22441) Metrics Subsytem Improvements
[ https://issues.apache.org/jira/browse/HIVE-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Mollitor updated HIVE-22441:
----------------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Major
> Attachments: HIVE-22441.1.patch, HIVE-22441.2.patch
>
>
> # 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)