You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/08/10 05:57:00 UTC

[jira] [Resolved] (HBASE-26185) Fix TestMaster#testMoveRegionWhenNotInitialized with hbase.min.version.move.system.tables

     [ https://issues.apache.org/jira/browse/HBASE-26185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viraj Jasani resolved HBASE-26185.
----------------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

> Fix TestMaster#testMoveRegionWhenNotInitialized with hbase.min.version.move.system.tables
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-26185
>                 URL: https://issues.apache.org/jira/browse/HBASE-26185
>             Project: HBase
>          Issue Type: Test
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Minor
>             Fix For: 2.5.0, 3.0.0-alpha-2, 1.7.2, 2.4.6, 2.3.7
>
>
> In order to protect meta region movement unexpectedly during upgrade with rsGroup enabled, it is good practice to keep hbase.min.version.move.system.tables in hbase-default for specific branch so that the use-case for the specific version of HBase is well under control. However, TestMaster#testMoveRegionWhenNotInitialized would fail because it would not find server to move meta to. We should fix this.
>  
> {code:java}
> INFO  [Time-limited test] master.HMaster(2029): Passed destination servername is null/empty so choosing a server at random
> java.lang.UnsupportedOperationExceptionjava.lang.UnsupportedOperationException at java.util.AbstractList.add(AbstractList.java:148) at java.util.AbstractList.add(AbstractList.java:108) at org.apache.hadoop.hbase.master.HMaster.move(HMaster.java:2031) at org.apache.hadoop.hbase.master.TestMaster.testMoveRegionWhenNotInitialized(TestMaster.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)