From 598dd9bb0ee5b01921292f78496ead990f4357df Mon Sep 17 00:00:00 2001 From: Ashu Pachauri Date: Mon, 31 Oct 2016 12:39:10 -0700 Subject: [PATCH] HBASE-16977 VerifyReplication should log a printable representation of the row keys Signed-off-by: Gary Helmling --- .../hadoop/hbase/mapreduce/replication/VerifyReplication.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java index 23af60c522d..ee0984c97ae 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java @@ -180,7 +180,8 @@ public class VerifyReplication extends Configured implements Tool { Result.compareResults(value, currentCompareRowInPeerTable); context.getCounter(Counters.GOODROWS).increment(1); if (verbose) { - LOG.info("Good row key: " + delimiter + Bytes.toString(value.getRow()) + delimiter); + LOG.info("Good row key: " + delimiter + + Bytes.toStringBinary(value.getRow()) + delimiter); } } catch (Exception e) { logFailRowAndIncreaseCounter(context, Counters.CONTENT_DIFFERENT_ROWS, value);