[ 
https://issues.apache.org/jira/browse/HBASE-22424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guanghao Zhang updated HBASE-22424:
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0
                   2.2.0
                   3.0.0
           Status: Resolved  (was: Patch Available)

Pushed to branch-2.2+. Thanks [~Xiaolin Ha] for contributing.

> Interactions in RSGroup test classes will cause 
> TestRSGroupsAdmin2.testMoveServersAndTables and 
> TestRSGroupsBalance.testGroupBalance flaky  
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-22424
>                 URL: https://issues.apache.org/jira/browse/HBASE-22424
>             Project: HBase
>          Issue Type: Bug
>          Components: rsgroup
>    Affects Versions: 2.2.0
>            Reporter: Xiaolin Ha
>            Assignee: Xiaolin Ha
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.3.0
>
>         Attachments: HBASE-22424.master.001.patch
>
>
> When running rsgroup test class folder to run all the UTs together, 
> TestRSGroupsAdmin2.testMoveServersAndTables and 
> TestRSGroupsBalance.testGroupBalance will flaky.
> Because TestRSGroupsAdmin1, TestRSGroupsAdmin2 and TestRSGroupsBalance are 
> all extends TestRSGroupsBase, which has a static variable INIT, controlling 
> the initialize of 'master 'group and the number of rs in 'default' rsgroup. 
> Output errors of TestRSGroupsBalance.testGroupBalance is shown in 
> HBASE-22420, and  TestRSGroupsAdmin2.testMoveServersAndTables will encounter 
> NPE in 
> ```rsGroupAdmin.getRSGroupInfo("master").containsServer(server.getAddress())```
>  because `master` group has not been added.



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

Reply via email to