HBASE-906 [shell] Truncates output

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@699746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-09-27 21:58:38 +00:00
parent 4f99f3a9e8
commit a2ebc570cf
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ Release 0.19.0 - Unreleased
HBASE-892 Cell iteration is broken (Doğacan Güney via Jim Kellerman)
HBASE-898 RowResult.containsKey(String) doesn't work
(Doğacan Güney via Jim Kellerman)
HBASE-906 [shell] Truncates output
IMPROVEMENTS
HBASE-890 Alter table operation and also related changes in REST interface

View File

@ -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)