[
https://issues.apache.org/jira/browse/HBASE-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu reassigned HBASE-5113:
-----------------------------
Assignee: Ted Yu
> 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 Ted Yu
> Assignee: Ted Yu
> Fix For: 0.92.0
>
> Attachments: 5113.txt
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira