You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ga...@apache.org on 2017/03/10 00:35:28 UTC

hbase git commit: HBASE-16977 VerifyReplication should log a printable representation of the row keys

Repository: hbase
Updated Branches:
  refs/heads/master 1160315e2 -> d4cbff58c


HBASE-16977 VerifyReplication should log a printable representation of the row keys

Signed-off-by: Gary Helmling <ga...@apache.org>


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

Branch: refs/heads/master
Commit: d4cbff58cc67577ff66507b5d2bc0c7150bbd21b
Parents: 1160315
Author: Ashu Pachauri <as...@gmail.com>
Authored: Mon Oct 31 12:39:10 2016 -0700
Committer: Gary Helmling <ga...@apache.org>
Committed: Thu Mar 9 16:31:02 2017 -0800

----------------------------------------------------------------------
 .../hadoop/hbase/mapreduce/replication/VerifyReplication.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d4cbff58/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java
----------------------------------------------------------------------
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 ff703bc..145fede 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);