HBASE-7476 HBase shell count command doesn't escape binary output
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1430003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
27739350c0
commit
34f53170b9
|
@ -180,7 +180,8 @@ EOF
|
||||||
count += 1
|
count += 1
|
||||||
next unless (block_given? && count % interval == 0)
|
next unless (block_given? && count % interval == 0)
|
||||||
# Allow command modules to visualize counting process
|
# Allow command modules to visualize counting process
|
||||||
yield(count, String.from_java_bytes(row.getRow))
|
yield(count,
|
||||||
|
org.apache.hadoop.hbase.util.Bytes::toStringBinary(row.getRow))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Return the counter
|
# Return the counter
|
||||||
|
|
Loading…
Reference in New Issue