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

HBTU.waitUntilAllRegionsAssigned will count split/merged region and cause wait timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In TestTruncateTableProcedure, we will call split and then wait until all regions are assigned. The code itself is a bit strange and should be reimplement with other another way, but it expose the problem in our HBTU.waitUntilAllRegionsAssigned method, that we will also count split region, and find that it is not OPEN and return false, which causes a wait timeout.

      This is the log.

      https://builds.apache.org/job/HBase-Flaky-Tests/job/master/143/artifact/hbase-server/target/surefire-reports/org.apache.hadoop.hbase.master.procedure.TestTruncateTableProcedure-output.txt

      Will open another issue to rewrite the test first, but I still think we need to open a issue to record this problem.

      Attachments

        1. HBASE-21100.wip.patch
          1 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: