From 40e1d9174e1dd15ed95b03a4cf8944384b1aaa2c Mon Sep 17 00:00:00 2001 From: Daisuke Kobayashi Date: Thu, 14 Feb 2019 18:10:19 +0900 Subject: [PATCH] HBASE-21899 Fix missing variables for slf4j Logger Signed-off-by: Toshihiro Suzuki --- .../hbase/master/procedure/ReopenTableRegionsProcedure.java | 2 +- .../replication/regionserver/SerialReplicationChecker.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.java index 06348155f1d..34ce9627da1 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.java @@ -88,7 +88,7 @@ public class ReopenTableRegionsProcedure switch (state) { case REOPEN_TABLE_REGIONS_GET_REGIONS: if (!env.getAssignmentManager().isTableEnabled(tableName)) { - LOG.info("Table {} is disabled, give up reopening its regions"); + LOG.info("Table {} is disabled, give up reopening its regions", tableName); return Flow.NO_MORE_STATE; } regions = diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationChecker.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationChecker.java index b775d25cb1d..4b88050ee26 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationChecker.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationChecker.java @@ -255,7 +255,7 @@ class SerialReplicationChecker { // has been moved to another RS and then back, so we need to check the barrier. MutableLong previousPushedSeqId = pushed.getUnchecked(encodedNameAsString); if (seqId == previousPushedSeqId.longValue() + 1) { - LOG.trace("The sequence id for {} is continuous, pass"); + LOG.trace("The sequence id for {} is continuous, pass", entry); previousPushedSeqId.increment(); return true; }