You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/09/27 23:58:39 UTC

svn commit: r699746 - in /hadoop/hbase: branches/0.18/CHANGES.txt branches/0.18/bin/Formatter.rb trunk/CHANGES.txt trunk/bin/Formatter.rb

Author: stack
Date: Sat Sep 27 14:58:38 2008
New Revision: 699746

URL: http://svn.apache.org/viewvc?rev=699746&view=rev
Log:
HBASE-906  [shell] Truncates output

Modified:
    hadoop/hbase/branches/0.18/CHANGES.txt
    hadoop/hbase/branches/0.18/bin/Formatter.rb
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/bin/Formatter.rb

Modified: hadoop/hbase/branches/0.18/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.18/CHANGES.txt?rev=699746&r1=699745&r2=699746&view=diff
==============================================================================
--- hadoop/hbase/branches/0.18/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.18/CHANGES.txt Sat Sep 27 14:58:38 2008
@@ -4,6 +4,7 @@
 
   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
 

Modified: hadoop/hbase/branches/0.18/bin/Formatter.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.18/bin/Formatter.rb?rev=699746&r1=699745&r2=699746&view=diff
==============================================================================
--- hadoop/hbase/branches/0.18/bin/Formatter.rb (original)
+++ hadoop/hbase/branches/0.18/bin/Formatter.rb Sat Sep 27 14:58:38 2008
@@ -84,11 +84,11 @@
     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)

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=699746&r1=699745&r2=699746&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sat Sep 27 14:58:38 2008
@@ -11,6 +11,7 @@
    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

Modified: hadoop/hbase/trunk/bin/Formatter.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/Formatter.rb?rev=699746&r1=699745&r2=699746&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/Formatter.rb (original)
+++ hadoop/hbase/trunk/bin/Formatter.rb Sat Sep 27 14:58:38 2008
@@ -84,11 +84,11 @@
     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)