chrajeshbabu commented on PR #5661: URL: https://github.com/apache/hbase/pull/5661#issuecomment-1937082631
> I'm not very familiar with the shell command here, so what does move_servers_namespaces_rsgroup actually do? @Apache9 move_namespaces_rsgroup 'dest',['ns1','ns2'] -> moves tables in the namespaces to RS Group move_servers_namespaces_rsgroup 'dest',['server1:port','server2:port'],['ns1','ns2'] -> moves tables in the namespaces and servers to rsgroup. These commands utilizing the rsadmin APIs provided in ruby to move existing tables in the namespaces to the dest RS group but not setting the new rsgroup name in the namenode descriptor.Without which any new tables created after running this command might go to old rsgroup servers which leads to inconsistent state. Since the core APIs not supporting the setting the rsgroup name in the namespace descriptor utilising the alter_namespace command in the above two commands. I would like to suggest simple admin API called moveNamespaceToRSGroup also along with existing RS group APIs so that setting configuration value for RS Group namespace in namespace descriptor can be taken care within the API level. -- 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]
