You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2020/05/20 10:06:00 UTC
[jira] [Resolved] (HBASE-24399) [Flakey Tests] Some UTs about
RSGroup should wait RSGroupInfoManager to be online
[ https://issues.apache.org/jira/browse/HBASE-24399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang resolved HBASE-24399.
------------------------------------
Resolution: Fixed
Pushed to branch-2.2, branch-2.3 and branch-2. Thanks [~Ddupg] for contributing.
> [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: Bug
> Components: rsgroup
> Affects Versions: 2.3.0
> Reporter: Sun Xin
> Assignee: Sun Xin
> Priority: Minor
> Fix For: 2.3.0, 2.2.5
>
>
> 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)