hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mollitor (Jira)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-22441) Metrics Subsytem Improvements
Date Fri, 01 Nov 2019 16:25:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Mollitor updated HIVE-22441:
----------------------------------
    Attachment: HIVE-22441.3.patch

> 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, HIVE-22441.3.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)

Mime
View raw message