HBASE-16227 [Shell] Column value formatter not working in scans.

Tested : manually using shell.

Change-Id: I9eef7efa68393a762ec872447f8e36dfc6d6f1bc
This commit is contained in:
Apekshit Sharma 2016-07-13 14:01:38 -07:00
parent 3b3c3dc02d
commit 28802decc8
1 changed files with 3 additions and 2 deletions

View File

@ -452,6 +452,9 @@ EOF
# This will overwrite any startrow/stoprow settings
scan.setRowPrefixFilter(rowprefixfilter.to_java_bytes) if rowprefixfilter
# Clear converters from last scan.
@converters.clear()
columns.each do |c|
family, qualifier = parse_column_name(c.to_s)
if qualifier
@ -503,8 +506,6 @@ EOF
count = 0
res = {}
@converters.clear()
# Start the scanner
scan = scan == nil ? _hash_to_scan(args) : scan
scanner = @table.getScanner(scan)