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

[Flakey Tests] TestFavoredNodeTableImport fails 30% of the time

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.1.9, 2.2.4
    • Component/s: None
    • Labels:
      None

      Description

      Spent time on TestFavoredNodeTableImport. It fails w/ an NPE when we go to get favorednodes for one of the regions. It is sporadic. Fails for me locally too about 30% of the time.

      I tried to study where we are going wrong. The balancer is disabled when we start the cluster up again on FN balancer... but this don't seem to be the problem.

      Looks like laggard Regions taking their time to open means they don't show in the global list of favored nodes when the checking runs. Adding a wait till no RIT seems to stabilize the test.

        Attachments

          Activity

            People

            • Assignee:
              stack Michael Stack
              Reporter:
              stack Michael Stack
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: