From a0d72051dbace9dc4ec6ab288f2f6553e2ee7307 Mon Sep 17 00:00:00 2001 From: tedyu Date: Tue, 4 Aug 2015 17:20:23 -0700 Subject: [PATCH] HBASE-14185 Incorrect region names logged by MemStoreFlusher (Biju Nair) --- .../org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 644e89b0d0f..40c504670f1 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); }