You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2020/05/20 02:25:00 UTC

[jira] [Updated] (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 updated HBASE-24399:
-----------------------------------
    Fix Version/s: 2.2.5

> [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, 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)