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

Reid Chan updated HBASE-22656:
------------------------------
    Fix Version/s: 2.1.7
                   1.4.11
                   2.2.1
                   2.3.0
                   1.5.0
                   3.0.0

> [Metrics]  Tabe metrics 'BatchPut' and 'BatchDelete' are never updated
> ----------------------------------------------------------------------
>
>                 Key: HBASE-22656
>                 URL: https://issues.apache.org/jira/browse/HBASE-22656
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>            Reporter: Reid Chan
>            Assignee: Reid Chan
>            Priority: Minor
>             Fix For: 3.0.0, 1.5.0, 2.3.0, 2.2.1, 1.4.11, 2.1.7
>
>         Attachments: HBASE-22656.master.001.patch
>
>
> {code}
>   public void updatePutBatch(TableName tn, long t) {
>     if (tableMetrics != null && tn != null) {
>       tableMetrics.updatePut(tn, t); // Here should use updatePutBatch
>     }
>     ...
>   }
>   public void updateDeleteBatch(TableName tn, long t) {
>     if (tableMetrics != null && tn != null) {
>       tableMetrics.updateDelete(tn, t); // Here should use updateDeleteBatch
>     }
>     ...
>   }
> {code}



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

Reply via email to