Biju Nair created HBASE-20606:
---------------------------------

             Summary: move_namespaces_rsgroup doesn't move all the system 
tables to a rsgroup
                 Key: HBASE-20606
                 URL: https://issues.apache.org/jira/browse/HBASE-20606
             Project: HBase
          Issue Type: Bug
          Components: master
            Reporter: Biju Nair


Steps to reproduce
 - 
{noformat}
add_rsgroup 'test_rsgroup'{noformat}

 - Add a server to the new {{rsgroup}}
 - 
{noformat}
hbase(main):002:0> list_rsgroups
NAME                                       SERVER / TABLE                       
                                                                                
     
 test_rsgroup                                                                   
                                                                                
     
 default                                   server dob2-bach-r3n13:16020         
                                                                       
                                           server dob2-bach-r3n13:16022         
                                                                       
                                           server dob2-bach-r3n13:16023         
                                                                       
                                           server dob2-bach-r3n13:16024         
                                                                       
                                           server dob2-bach-r3n13:16025         
                                                                       
                                           server dob2-bach-r3n13:16026         
                                                                       
                                           table hbase:meta                     
                                                                                
     
                                           table hbase:acl                      
                                                                                
     
                                           table hbase:namespace                
                                                                                
     
                                           table hbase:rsgroup
move_servers_rsgroup 'test_rsgroup',['dob2-bach-r3n13:16020']{noformat}

 - Move {{hbase}} namespace to the new {{rsgroup}}
 - 
{noformat}
hbase(main):005:0> move_namespaces_rsgroup 'test_rsgroup',['hbase']{noformat}

 - List {{Rsgroups}} to verify all the {{hbase}} tables are moved 
 - 
{noformat}
hbase(main):006:0> list_rsgroups
NAME                                       SERVER / TABLE                       
                                                                                
     
 test_rsgroup                              server dob2-bach-r3n13:16020         
                                                                       
                                           table hbase:meta                     
                                                                                
     
                                           table hbase:namespace                
                                                                                
     
                                           table hbase:rsgroup                  
                                                                                
     
 default                                   server dob2-bach-r3n13:16022         
                                                                       
                                           server dob2-bach-r3n13:16023         
                                                                       
                                           server dob2-bach-r3n13:16024         
                                                                       
                                           server dob2-bach-r3n13:16025         
                                                                       
                                           server dob2-bach-r3n13:16026         
                                                                       
                                           table hbase:acl {noformat}

 - {{hbase:acl}} table is not moved the new {{rsgroup}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to