hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiqing Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17047) Add an API to get HBase connection cache statistics
Date Wed, 09 Nov 2016 05:26:58 GMT

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

Weiqing Yang commented on HBASE-17047:
--------------------------------------

Sorry for the misleading title/description. Our client has asked us to log information about
the cache, but we’ve decide not to do so. It’s an API that gives statistics information
of the cache (like you suggested). The refcount has nothing to do with this patch, but its
decrement is here: https://github.com/apache/hbase/blob/master/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/HBaseConnectionCache.scala#L131

> Add an API to get HBase connection cache statistics
> ---------------------------------------------------
>
>                 Key: HBASE-17047
>                 URL: https://issues.apache.org/jira/browse/HBASE-17047
>             Project: HBase
>          Issue Type: Improvement
>          Components: spark
>            Reporter: Weiqing Yang
>            Assignee: Weiqing Yang
>            Priority: Minor
>         Attachments: HBASE-17047_v1.patch
>
>
> This patch will add a function "getStat" for the user to get the statistics of the HBase
connection cache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message