You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ra...@apache.org on 2014/10/31 10:40:48 UTC

git commit: HBASE-12391 Correct a typo in the mob metrics (Jingcheng Du)

Repository: hbase
Updated Branches:
  refs/heads/HBASE-11339 [created] 3876bb764


HBASE-12391 Correct a typo in the mob metrics (Jingcheng Du)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3876bb76
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3876bb76
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3876bb76

Branch: refs/heads/HBASE-11339
Commit: 3876bb764d6ac2bd8b4d1f5f7b8e73cd36d32e59
Parents: e5a1b86
Author: Ramkrishna <ra...@intel.com>
Authored: Fri Oct 31 15:00:17 2014 +0530
Committer: Ramkrishna <ra...@intel.com>
Committed: Fri Oct 31 15:00:17 2014 +0530

----------------------------------------------------------------------
 .../hbase/regionserver/MetricsRegionServerWrapperImpl.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3876bb76/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
index 9b4ead1..4384d87 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
@@ -529,7 +529,7 @@ class MetricsRegionServerWrapperImpl
       long tempMobCompactedIntoMobCellsCount = 0;
       long tempMobCompactedFromMobCellsCount = 0;
       long tempMobCompactedIntoMobCellsSize = 0;
-      long testMobCompactedFromMobCellsSize = 0;
+      long tempMobCompactedFromMobCellsSize = 0;
       long tempMobFlushCount = 0;
       long tempMobFlushedCellsCount = 0;
       long tempMobFlushedCellsSize = 0;
@@ -562,7 +562,7 @@ class MetricsRegionServerWrapperImpl
             tempMobCompactedIntoMobCellsCount += mobStore.getMobCompactedIntoMobCellsCount();
             tempMobCompactedFromMobCellsCount += mobStore.getMobCompactedFromMobCellsCount();
             tempMobCompactedIntoMobCellsSize += mobStore.getMobCompactedIntoMobCellsSize();
-            testMobCompactedFromMobCellsSize += mobStore.getMobCompactedFromMobCellsSize();
+            tempMobCompactedFromMobCellsSize += mobStore.getMobCompactedFromMobCellsSize();
             tempMobFlushCount += mobStore.getMobFlushCount();
             tempMobFlushedCellsCount += mobStore.getMobFlushedCellsCount();
             tempMobFlushedCellsSize += mobStore.getMobFlushedCellsSize();
@@ -634,7 +634,7 @@ class MetricsRegionServerWrapperImpl
       mobCompactedIntoMobCellsCount = tempMobCompactedIntoMobCellsCount;
       mobCompactedFromMobCellsCount = tempMobCompactedFromMobCellsCount;
       mobCompactedIntoMobCellsSize = tempMobCompactedIntoMobCellsSize;
-      mobCompactedFromMobCellsSize = testMobCompactedFromMobCellsSize;
+      mobCompactedFromMobCellsSize = tempMobCompactedFromMobCellsSize;
       mobFlushCount = tempMobFlushCount;
       mobFlushedCellsCount = tempMobFlushedCellsCount;
       mobFlushedCellsSize = tempMobFlushedCellsSize;