hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-14185 Incorrect region names logged by MemStoreFlusher (Biju Nair)
Date Wed, 05 Aug 2015 00:21:47 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 92c7bbf31 -> 2906b44c5


HBASE-14185 Incorrect region names logged by MemStoreFlusher (Biju Nair)


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

Branch: refs/heads/branch-1.2
Commit: 2906b44c5f49c5ccadf9f40e4342ae41dc463d48
Parents: 92c7bbf
Author: tedyu <yuzhihong@gmail.com>
Authored: Tue Aug 4 17:21:39 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Tue Aug 4 17:21:39 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2906b44c/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java
index c4b1343..c7980b3 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java
@@ -197,12 +197,12 @@ class MemStoreFlusher implements FlushRequester {
            ServerRegionReplicaUtil.isRegionReplicaStoreFileRefreshEnabled(conf) &&
            (bestRegionReplica.getMemstoreSize()
                > secondaryMultiplier * regionToFlush.getMemstoreSize()))) {
-        LOG.info("Refreshing storefiles of region " + regionToFlush +
+        LOG.info("Refreshing storefiles of region " + bestRegionReplica +
           " due to global heap pressure. memstore size=" + StringUtils.humanReadableInt(
             server.getRegionServerAccounting().getGlobalMemstoreSize()));
         flushedOne = refreshStoreFilesAndReclaimMemory(bestRegionReplica);
         if (!flushedOne) {
-          LOG.info("Excluding secondary region " + regionToFlush +
+          LOG.info("Excluding secondary region " + bestRegionReplica +
               " - trying to find a different region to refresh files.");
           excludedRegions.add(bestRegionReplica);
         }


Mime
View raw message