Remove changes prematurely committed -- fixes that were for hbck tool and that broek the HBaseAdmin tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1030780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
19d629a0be
commit
10b67e001a
|
@ -96,8 +96,7 @@ public class MetaScanner {
|
|||
// if row is not null, we want to use the startKey of the row's region as
|
||||
// the startRow for the meta scan.
|
||||
byte[] startRow;
|
||||
// row could be non-null but empty -- the HConstants.EMPTY_START_ROW
|
||||
if (row != null && row.length > 0) {
|
||||
if (row != null) {
|
||||
// Scan starting at a particular row in a particular table
|
||||
assert tableName != null;
|
||||
byte[] searchRow =
|
||||
|
@ -122,9 +121,7 @@ public class MetaScanner {
|
|||
byte[] rowBefore = regionInfo.getStartKey();
|
||||
startRow = HRegionInfo.createRegionName(tableName, rowBefore,
|
||||
HConstants.ZEROES, false);
|
||||
} else if (row == null ||
|
||||
(row != null && Bytes.equals(HConstants.EMPTY_START_ROW, row)) ||
|
||||
(tableName == null || tableName.length == 0)) {
|
||||
} else if (tableName == null || tableName.length == 0) {
|
||||
// Full META scan
|
||||
startRow = HConstants.EMPTY_START_ROW;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue