diff --git a/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java b/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java index b59095b846f..bab471ef946 100644 --- a/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java +++ b/src/main/java/org/apache/hadoop/hbase/catalog/MetaReader.java @@ -304,7 +304,7 @@ public class MetaReader { List list = new ArrayList(); 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 list = new ArrayList(); list.add(HRegionInfo.FIRST_META_REGIONINFO); @@ -419,4 +419,4 @@ public class MetaReader { metaServer.close(scannerid); } } -} \ No newline at end of file +}