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)

Reply via email to