hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject hbase git commit: HBASE-16977 VerifyReplication should log a printable representation of the row keys
Date Fri, 10 Mar 2017 00:46:37 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 d74b72708 -> 729239c8d


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

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


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

Branch: refs/heads/branch-1.3
Commit: 729239c8d13bcf15b8f87030a6f23b723d6f7227
Parents: d74b727
Author: Ashu Pachauri <ashu210890@gmail.com>
Authored: Thu Mar 9 12:28:32 2017 -0800
Committer: Gary Helmling <garyh@apache.org>
Committed: Thu Mar 9 16:39:56 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/729239c8/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 6be47db..a40de4e 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
@@ -173,7 +173,7 @@ public class VerifyReplication extends Configured implements Tool {
     private void logFailRowAndIncreaseCounter(Context context, Counters counter, Result row)
{
       context.getCounter(counter).increment(1);
       context.getCounter(Counters.BADROWS).increment(1);
-      LOG.error(counter.toString() + ", rowkey=" + Bytes.toString(row.getRow()));
+      LOG.error(counter.toString() + ", rowkey=" + Bytes.toStringBinary(row.getRow()));
     }
 
     @Override


Mime
View raw message