Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21412

HBase putBatch Metrics update date to put Metrics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • findbugs, metrics
    • None

    Description

      org.apache.hadoop.hbase.regionserver

      The method of updatePutBatch execute latencies.updatePut(table.getNameAsString(), time),and latencies.updatePutBatch(table.getNameAsString(), time) never be used。It's wrong。

      The diff

      -/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/
      RegionServerTableMetrics.java
      + hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/
      RegionServerTableMetrics.java

      public void updatePutBatch(TableName table, long time)

      { ---    latencies.updatePut(table.getNameAsString(), time); +++ latencies.updatePutBatch(table.getNameAsString(), time); }

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            leyangyueshan xijiawen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: