HBASE-16977 VerifyReplication should log a printable representation of the row keys
Signed-off-by: Gary Helmling <garyh@apache.org>
This commit is contained in:
parent
3d9520b140
commit
598dd9bb0e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue