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

HBaseTestingUtility#waitUntilAllRegionsAssigned should wait for RegionStates

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 0.98.6, 2.0.0
    • Fix Version/s: 0.98.8, 0.99.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      At the moment, #waitUntilAllRegionsAssigned checks to see if each region has a value for info:server in the meta table, but I've encountered a few instances of tests that fail because RegionStates#getRegionsOfTable returns an empty list, despite #waitUntilAllRegionsAssigned being called after the table was created. Let's fix this.

        Attachments

          Activity

            People

            • Assignee:
              dimaspivak Dima Spivak
              Reporter:
              dimaspivak Dima Spivak
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: