You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Oliver Draese (JIRA)" <ji...@apache.org> on 2019/03/11 13:36:00 UTC

[jira] [Commented] (HIVE-21422) Add metrics to LRFU cache policy

    [ https://issues.apache.org/jira/browse/HIVE-21422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789572#comment-16789572 ] 

Oliver Draese commented on HIVE-21422:
--------------------------------------

Added pull request for this patch: https://github.com/apache/hive/pull/563/files

> Add metrics to LRFU cache policy
> --------------------------------
>
>                 Key: HIVE-21422
>                 URL: https://issues.apache.org/jira/browse/HIVE-21422
>             Project: Hive
>          Issue Type: Improvement
>          Components: llap
>    Affects Versions: 4.0.0
>            Reporter: Oliver Draese
>            Assignee: Oliver Draese
>            Priority: Major
>              Labels: llap
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21422.patch
>
>
> The LRFU cache policy for the LLAP data cache doesn't  provide enough insight to figure out, what is cached and why something might get evicted. This ticket is used to add Hadoop metrics 2 information (accessible via JMX) to the LRFU policy, providing following information:
>  * How much memory is cached for data buffers
>  * How much memory is cached for meta data buffers
>  * How large is the min-heap of the cache policy
>  * How long is the eviction short list (linked list)
>  * How much memory is currently "locked" (buffers with positive reference count) and therefore in use by a query
> These new counters are found in the MX bean, following this path:
> Hadoop/LlapDaemon/LowLevelLrfuCachePolicy-<hostname>
>  



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