Baiqiang Zhao created HBASE-25365:
-------------------------------------

             Summary: The log in move_servers_rsgroup is incorrect
                 Key: HBASE-25365
                 URL: https://issues.apache.org/jira/browse/HBASE-25365
             Project: HBase
          Issue Type: Bug
    Affects Versions: 3.0.0-alpha-1, 2.4.0
            Reporter: Baiqiang Zhao
            Assignee: Baiqiang Zhao


Assuming that server1 belongs to the default group, execute the command:

 
{code:java}
 move_servers_rsgroup 'test',['server1:16020']
{code}
We can see log:

 
{code:java}
Moving 10 region(s) to group test, current retry=0
......
All regions from server(s) [server1,16020,1607067542905] moved to target group 
test.
{code}
The target group should be the source group in log: test -> default.

 

https://github.com/apache/hbase/blob/7d0a687e5798a2f4ca3190b409169f7e17a75b34/hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java#L1027

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to