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 2010/12/21 21:03:20 UTC

svn commit: r1051631 - /hbase/branches/0.90/src/main/ruby/hbase/table.rb

Author: stack
Date: Tue Dec 21 20:03:20 2010
New Revision: 1051631

URL: http://svn.apache.org/viewvc?rev=1051631&view=rev
Log:
Fixup a bit of shell formatting

Modified:
    hbase/branches/0.90/src/main/ruby/hbase/table.rb

Modified: hbase/branches/0.90/src/main/ruby/hbase/table.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/ruby/hbase/table.rb?rev=1051631&r1=1051630&r2=1051631&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/ruby/hbase/table.rb (original)
+++ hbase/branches/0.90/src/main/ruby/hbase/table.rb Tue Dec 21 20:03:20 2010
@@ -298,7 +298,7 @@ module Hbase
     # Intercept cells whose format we know such as the info:regioninfo in .META.
     def to_string(column, kv, maxlength = -1)
       if is_meta_table?
-        if column == 'info:regioninfo'
+        if column == 'info:regioninfo' or column == 'info:splitA' or column == 'info:splitB'
           hri = org.apache.hadoop.hbase.util.Writables.getHRegionInfoOrNull(kv.getValue)
           return "timestamp=%d, value=%s" % [kv.getTimestamp, hri.toString]
         end