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:
Michael Stack 2010-09-02 22:18:54 +00:00
parent e3d0498438
commit 95a9c26c77
1 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ public class MetaReader {
List<HRegionInfo> list = new ArrayList<HRegionInfo>();
list.add(HRegionInfo.ROOT_REGIONINFO);
return list;
} else if (Bytes.equals(tableName, HConstants.ROOT_TABLE_NAME)) {
} else if (Bytes.equals(tableName, HConstants.META_TABLE_NAME)) {
// Same for .META. table
List<HRegionInfo> list = new ArrayList<HRegionInfo>();
list.add(HRegionInfo.FIRST_META_REGIONINFO);