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);
|
Result.compareResults(value, currentCompareRowInPeerTable);
|
||||||
context.getCounter(Counters.GOODROWS).increment(1);
|
context.getCounter(Counters.GOODROWS).increment(1);
|
||||||
if (verbose) {
|
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) {
|
} catch (Exception e) {
|
||||||
logFailRowAndIncreaseCounter(context, Counters.CONTENT_DIFFERENT_ROWS, value);
|
logFailRowAndIncreaseCounter(context, Counters.CONTENT_DIFFERENT_ROWS, value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user