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

TestSplitTransactionOnCluster.testMasterRestartAtRegionSplitPendingCatalogJanitor is flakey

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0, 2.0.6, 2.2.1, 2.1.6
    • None
    • None
    • Reviewed

    Description

      RITs will lead to CatalogJanitor not running, and then parent region will not be cleaned.

      As a result, the last assertion of checking if parent region is null will fail.

      Error Message

      expected:<null> but was:<maven-jdk8-551kz,45127,1563877982046>

      Stacktrace

      java.lang.AssertionError: expected:<null> but was:<maven-jdk8-551kz,45127,1563877982046> at org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster.testMasterRestartAtRegionSplitPendingCatalogJanitor(TestSplitTransactionOnCluster.java:577)

      Currently, the case is only waiting for master be active while not care about RITs completion when master starts up.

      Failed test results is attached. We can see CatalogJanitor chore run failed log in it,

      2019-07-23 18:34:03,241 INFO [Time-limited test] regionserver.TestSplitTransactionOnCluster(572): Starting run of CatalogJanitor 2019-07-23 18:34:03,241 WARN [Time-limited test] master.CatalogJanitor(119): CatalogJanitor is disabled! Enabled=true, maintenanceMode=false, am=org.apache.hadoop.hbase.master.assignment.AssignmentManager@1ce25bee, metaLoaded=true, hasRIT=true clusterShutDown=false

       

       

      Attachments

        Issue Links

          Activity

            People

              Xiaolin Ha Xiaolin Ha
              Xiaolin Ha Xiaolin Ha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: