Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24399

[Flakey Tests] Some UTs about RSGroup should wait RSGroupInfoManager to be online

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0, 2.2.5
    • rsgroup
    • None

    Description

      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.

      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)
      

      Attachments

        Issue Links

          Activity

            People

              Ddupg Sun Xin
              Ddupg Sun Xin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: