chrajeshbabu commented on PR #5661:
URL: https://github.com/apache/hbase/pull/5661#issuecomment-1945287947

   
   
   
   > It is a bit strange that why we need to an extra step after calling an 
admin method, is this because we are calling an old API in RSGroupAdmin, not 
the method in Admin interface?
   After the update HBASE-23807, the old APIs in RSGroupAdmin are no longer 
being utilized in shell commands. The commands related to moving namespaces 
only move tables belonging to the namespaces to a new RS group without 
modifying the namespace descriptor itself. This behavior has remained same 
since the initial development of commands like **move_namespaces_rsgroup** and 
**move_servers_namespaces_rsgroup** (HBASE-19336). Having Admin API would be 
beneficial to control moving the namespace to new RS group programmatically.
   
   > I'm still a bit confused by 'moves tables in the namespaces and servers to 
rsgroup.'. Why we need to care about tables here? Just change the namespace 
descriptor and also move the servers is enough?
   If we just change the namespace descriptor and  don't move the tables in the 
namespace then the existing tables belong to old RS group and what ever the 
tables created after that will be with new RS group so with in the the same 
namespace  tables belongs to multiple rs groups in that case. If we are still 
ok to have such behavior then just changing the namespace descriptor is fine.


-- 
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]

Reply via email to