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

HBase putBatch Metrics update date to put Metrics

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: findbugs, metrics
    • Labels:
      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

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

              Dates

              • Created:
                Updated: