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

Viraj Jasani reopened HBASE-26185:
----------------------------------

As we see one more similar test failure on branch-1, good to fix this failure 
by returning mutable list from getExcludedServersForSystemTable().

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

Reply via email to