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-16879) Review of AggregateStatsCache
Date Fri, 01 Nov 2019 15:09:00 GMT

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

David Mollitor updated HIVE-16879:
----------------------------------
    Description: 
Improve cache key for cache implemented in {{org.apache.hadoop.hive.metastore.AggregateStatsCache}}.

# Upgrade _debug_ logging to not generate text unless required
# Changed _equals_ method to check first for the item most likely to be different, column
name
# Improve usage of Java 8 Map API

  was:
Improve cache key for cache implemented in {{org.apache.hadoop.hive.metastore.AggregateStatsCache}}.

# Cache some of the key components themselves (db name, table name) using {{String}} intern
method to conserve memory for repeated keys, to improve {{equals}} method as now references
can be used for equality, and hashcodes will be cached as well as per {{String}} clash hashcode
method.
# Upgrade _debug_ logging to not generate text unless required
# Changed _equals_ method to check first for the item most likely to be different, column
name

       Priority: Minor  (was: Trivial)
        Summary: Review of AggregateStatsCache  (was: Improve Cache Key)

> Review of AggregateStatsCache
> -----------------------------
>
>                 Key: HIVE-16879
>                 URL: https://issues.apache.org/jira/browse/HIVE-16879
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>    Affects Versions: 3.0.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-16879.1.patch, HIVE-16879.2.patch, HIVE-16879.3.patch
>
>
> Improve cache key for cache implemented in {{org.apache.hadoop.hive.metastore.AggregateStatsCache}}.
> # Upgrade _debug_ logging to not generate text unless required
> # Changed _equals_ method to check first for the item most likely to be different, column
name
> # Improve usage of Java 8 Map API



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

Mime
View raw message