HBASE-1560 TIF can't seem to find one region

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2009-06-25 23:59:12 +00:00
parent 9754249af2
commit c92c02b5fc
2 changed files with 6 additions and 1 deletions

View File

@ -229,6 +229,7 @@ Release 0.20.0 - Unreleased
for them for them
HBASE-1566 using Scan(startRow,stopRow) will cause you to iterate the HBASE-1566 using Scan(startRow,stopRow) will cause you to iterate the
entire table entire table
HBASE-1560 TIF can't seem to find one region
IMPROVEMENTS IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -148,7 +148,11 @@ public class Scan implements Writable {
for(int i=0; i<columns.length; i++) { for(int i=0; i<columns.length; i++) {
try { try {
byte [][] split = KeyValue.parseColumn(columns[i]); byte [][] split = KeyValue.parseColumn(columns[i]);
addColumn(split[0], split[1]); if (split[1].length == 0) {
addFamily(split[0]);
} else {
addColumn(split[0], split[1]);
}
} catch(Exception e) {} } catch(Exception e) {}
} }
return this; return this;