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:
Michael Stack 2013-01-07 20:59:16 +00:00
parent 27739350c0
commit 34f53170b9
1 changed files with 2 additions and 1 deletions

View File

@ -180,7 +180,8 @@ EOF
count += 1
next unless (block_given? && count % interval == 0)
# 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
# Return the counter