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:
parent
4f99f3a9e8
commit
a2ebc570cf
|
@ -11,6 +11,7 @@ Release 0.19.0 - Unreleased
|
||||||
HBASE-892 Cell iteration is broken (Doğacan Güney via Jim Kellerman)
|
HBASE-892 Cell iteration is broken (Doğacan Güney via Jim Kellerman)
|
||||||
HBASE-898 RowResult.containsKey(String) doesn't work
|
HBASE-898 RowResult.containsKey(String) doesn't work
|
||||||
(Doğacan Güney via Jim Kellerman)
|
(Doğacan Güney via Jim Kellerman)
|
||||||
|
HBASE-906 [shell] Truncates output
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-890 Alter table operation and also related changes in REST interface
|
HBASE-890 Alter table operation and also related changes in REST interface
|
||||||
|
|
|
@ -84,11 +84,11 @@ module Formatter
|
||||||
end
|
end
|
||||||
|
|
||||||
def dump(str)
|
def dump(str)
|
||||||
# Remove double-quotes added by 'dump'.
|
|
||||||
if str.instance_of? Fixnum
|
if str.instance_of? Fixnum
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
return str.dump.slice(1, str.length)
|
# Remove double-quotes added by 'dump'.
|
||||||
|
return str.dump[1..-1]
|
||||||
end
|
end
|
||||||
|
|
||||||
def output(width, str)
|
def output(width, str)
|
||||||
|
|
Loading…
Reference in New Issue