HBASE-906 [shell] Truncates output
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/branches/0.18@699746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55512dd3e9
commit
aaf96533a2
|
@ -4,6 +4,7 @@ Release 0.18.1 - Unreleased
|
|||
|
||||
BUG FIXES
|
||||
HBASE-891 HRS.validateValuesLength throws IOE, gets caught in the retries
|
||||
HBASE-906 [shell] Truncates output
|
||||
|
||||
Release 0.18.0 - September 21st, 2008
|
||||
|
||||
|
|
|
@ -84,11 +84,11 @@ module Formatter
|
|||
end
|
||||
|
||||
def dump(str)
|
||||
# Remove double-quotes added by 'dump'.
|
||||
if str.instance_of? Fixnum
|
||||
return
|
||||
end
|
||||
return str.dump.slice(1, str.length)
|
||||
# Remove double-quotes added by 'dump'.
|
||||
return str.dump[1..-1]
|
||||
end
|
||||
|
||||
def output(width, str)
|
||||
|
|
Loading…
Reference in New Issue