Index: src/main/java/org/apache/hadoop/hbase/client/MetaScanner.java =================================================================== --- src/main/java/org/apache/hadoop/hbase/client/MetaScanner.java (revision 1346779) +++ src/main/java/org/apache/hadoop/hbase/client/MetaScanner.java (working copy) @@ -144,7 +144,7 @@ assert tableName != null; byte[] searchRow = HRegionInfo.createRegionName(tableName, row, HConstants.NINES, - false); + true); HTable metaTable = null; try { metaTable = new HTable(configuration, HConstants.META_TABLE_NAME); @@ -164,7 +164,7 @@ byte[] rowBefore = regionInfo.getStartKey(); startRow = HRegionInfo.createRegionName(tableName, rowBefore, - HConstants.ZEROES, false); + HConstants.ZEROES, true); } finally { if (metaTable != null) { metaTable.close(); @@ -176,7 +176,7 @@ } else { // Scan META for an entire table startRow = HRegionInfo.createRegionName( - tableName, HConstants.EMPTY_START_ROW, HConstants.ZEROES, false); + tableName, HConstants.EMPTY_START_ROW, HConstants.ZEROES, true); }