chrajeshbabu commented on PR #5661:
URL: https://github.com/apache/hbase/pull/5661#issuecomment-1945296820
This code in RSGroupUtil helps to get the rsgroup of the tables belongs to
namespace but since first priority is giving to checking at table descriptor
and rsgroup info which gives old rsgroup first so if we don't move tables while
moving namespace there could be possible tables within the namespace belongs to
multiple groups.
` NamespaceDescriptor nd =
clusterSchema.getNamespace(tableName.getNamespaceAsString());
String groupNameOfNs =
nd.getConfigurationValue(RSGroupInfo.NAMESPACE_DESC_PROP_GROUP);
if (groupNameOfNs == null) {
return Optional.empty();
}
return Optional.ofNullable(manager.getRSGroup(groupNameOfNs));`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]