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/09 14:44:00 UTC

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

Viraj Jasani created HBASE-26185:
------------------------------------

             Summary: 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


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)