TestDrainingServer expects round robin region assignment but misses a config 
parameter
--------------------------------------------------------------------------------------

                 Key: HBASE-5113
                 URL: https://issues.apache.org/jira/browse/HBASE-5113
             Project: HBase
          Issue Type: Test
            Reporter: Zhihong Yu
             Fix For: 0.92.0, 0.94.0


>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.
{code}
    // Assert that every regionserver has some regions on it.
{code}
It turns out that BulkEnabler has an internal knob whose value is false:
{code}
      boolean roundRobinAssignment = this.server.getConfiguration().getBoolean(
          "hbase.master.enabletable.roundrobin", false);
{code}
TestDrainingServer should have set this config parameter before calling 
admin.enableTable(TABLENAME)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to