[ https://issues.apache.org/jira/browse/HBASE-24399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111661#comment-17111661 ]
Guanghao Zhang commented on HBASE-24399: ---------------------------------------- And this one. [https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/868/testReport/junit/org.apache.hadoop.hbase.rsgroup/TestDetermineRSGroupInfoForTable/health_checks___yetus_jdk8_hadoop2_checks___/] > [Flakey Tests] Some UTs about RSGroup should wait RSGroupInfoManager to be > online > --------------------------------------------------------------------------------- > > Key: HBASE-24399 > URL: https://issues.apache.org/jira/browse/HBASE-24399 > Project: HBase > Issue Type: Improvement > Components: rsgroup > Affects Versions: 2.3.0 > Reporter: Sun Xin > Assignee: Sun Xin > Priority: Minor > Fix For: 2.3.0 > > > We will access table hbase:rsgroup when call addRSGroup, so we should ensure > RSGroupInfoManagerImpl is online before testing in the UTs about RSGroup. > Otherwise, the following exceptions may be saw. > {code:java} > java.io.IOException: java.io.IOException: Only servers in default group can > be updated during offline modejava.io.IOException: java.io.IOException: Only > servers in default group can be updated during offline mode at > org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl.flushConfig(RSGroupInfoManagerImpl.java:602) > at > org.apache.hadoop.hbase.rsgroup.RSGroupInfoManagerImpl.addRSGroup(RSGroupInfoManagerImpl.java:217) > at > org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer.addRSGroup(RSGroupAdminServer.java:391) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)