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

Fix TestMaster#testMoveRegionWhenNotInitialized with hbase.min.version.move.system.tables

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0, 3.0.0-alpha-2, 1.7.2, 2.4.6, 2.3.7
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

       

      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)
      

       

        Attachments

          Activity

            People

            • Assignee:
              shahrs87 Rushabh Shah
              Reporter:
              vjasani Viraj Jasani
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: