HBASE-2943 major_compact (and other admin commands) broken for .META. -- Bug spotted by jgray after commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@992131 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3d0498438
commit
95a9c26c77
|
@ -304,7 +304,7 @@ public class MetaReader {
|
||||||
List<HRegionInfo> list = new ArrayList<HRegionInfo>();
|
List<HRegionInfo> list = new ArrayList<HRegionInfo>();
|
||||||
list.add(HRegionInfo.ROOT_REGIONINFO);
|
list.add(HRegionInfo.ROOT_REGIONINFO);
|
||||||
return list;
|
return list;
|
||||||
} else if (Bytes.equals(tableName, HConstants.ROOT_TABLE_NAME)) {
|
} else if (Bytes.equals(tableName, HConstants.META_TABLE_NAME)) {
|
||||||
// Same for .META. table
|
// Same for .META. table
|
||||||
List<HRegionInfo> list = new ArrayList<HRegionInfo>();
|
List<HRegionInfo> list = new ArrayList<HRegionInfo>();
|
||||||
list.add(HRegionInfo.FIRST_META_REGIONINFO);
|
list.add(HRegionInfo.FIRST_META_REGIONINFO);
|
||||||
|
|
Loading…
Reference in New Issue