hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-19126) CachedStore: Use memory estimation to limit cache size during prewarm
Date Fri, 13 Apr 2018 22:08:00 GMT

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

Vaibhav Gumashta updated HIVE-19126:
------------------------------------
    Attachment: HIVE-19126.5.patch

> CachedStore: Use memory estimation to limit cache size during prewarm
> ---------------------------------------------------------------------
>
>                 Key: HIVE-19126
>                 URL: https://issues.apache.org/jira/browse/HIVE-19126
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>    Affects Versions: 3.0.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>            Priority: Major
>         Attachments: HIVE-19126.1.patch, HIVE-19126.2.patch, HIVE-19126.3.patch, HIVE-19126.4.patch,
HIVE-19126.5.patch, HIVE-19126.5.patch
>
>
> We can rely on https://github.com/apache/hive/blob/master/llap-server/src/java/org/apache/hadoop/hive/llap/IncrementalObjectSizeEstimator.java
to estimate memory of SharedCache. This jira addresses the size estimation during prewarm,
so that we can stop when we hit the memory limit. In a follow-up jira, we will work on estimation/eviction
after prewarm is complete, so that we can keep the frequently used tables and their partitions
in cache.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message