From d4cbff58cc67577ff66507b5d2bc0c7150bbd21b 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 ff703bc8ce1..145fede173a 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 @@ -181,7 +181,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);