HBASE-19757 System table gets stuck after enabling region server group feature in secure cluster
This commit is contained in:
parent
8b520ce50d
commit
fd43507069
|
@ -400,14 +400,8 @@ final class RSGroupInfoManagerImpl implements RSGroupInfoManager {
|
||||||
orphanTables.add(TableName.valueOf(entry));
|
orphanTables.add(TableName.valueOf(entry));
|
||||||
}
|
}
|
||||||
|
|
||||||
final List<TableName> specialTables;
|
final List<TableName> specialTables = Arrays.asList(AccessControlLists.ACL_TABLE_NAME,
|
||||||
if(!masterServices.isInitialized()) {
|
TableName.META_TABLE_NAME, TableName.NAMESPACE_TABLE_NAME, RSGROUP_TABLE_NAME);
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (TableName table : specialTables) {
|
for (TableName table : specialTables) {
|
||||||
orphanTables.add(table);
|
orphanTables.add(table);
|
||||||
|
|
Loading…
Reference in New Issue