Sun Xin created HBASE-24399:
-------------------------------
Summary: [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
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)