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

TestDrainingServer expects round robin region assignment but misses a config parameter

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.0
    • None
    • None

    Description

      From https://builds.apache.org/view/G-L/view/HBase/job/HBase-TRUNK/2595/testReport/org.apache.hadoop.hbase/TestDrainingServer/org_apache_hadoop_hbase_TestDrainingServer/, we can see that some region server didn't have any regions assigned.

          // Assert that every regionserver has some regions on it.
      

      It turns out that BulkEnabler has an internal knob whose value is false:

            boolean roundRobinAssignment = this.server.getConfiguration().getBoolean(
                "hbase.master.enabletable.roundrobin", false);
      

      TestDrainingServer should have set this config parameter before calling admin.enableTable(TABLENAME)

      Attachments

        1. 5113.txt
          0.7 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            zhihyu@ebaysf.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: