diff --git a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java index 9ba12181c4d..956f8ba4073 100644 --- a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java +++ b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java @@ -400,14 +400,8 @@ final class RSGroupInfoManagerImpl implements RSGroupInfoManager { orphanTables.add(TableName.valueOf(entry)); } - final List specialTables; - if(!masterServices.isInitialized()) { - specialTables = Arrays.asList(AccessControlLists.ACL_TABLE_NAME, TableName.META_TABLE_NAME, - TableName.NAMESPACE_TABLE_NAME, RSGROUP_TABLE_NAME); - } else { - specialTables = - masterServices.listTableNamesByNamespace(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR); - } + final List specialTables = Arrays.asList(AccessControlLists.ACL_TABLE_NAME, + TableName.META_TABLE_NAME, TableName.NAMESPACE_TABLE_NAME, RSGROUP_TABLE_NAME); for (TableName table : specialTables) { orphanTables.add(table);