Fixup a bit of shell formatting

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1051630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-12-21 20:03:10 +00:00
parent 8f67476c53
commit d1966accd4
1 changed files with 1 additions and 1 deletions

View File

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