[ 
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)

Reply via email to