You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org> on 2011/12/31 14:38:31 UTC
[jira] [Updated] (HBASE-5113) TestDrainingServer expects round
robin region assignment but misses a config parameter
[ https://issues.apache.org/jira/browse/HBASE-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihong Yu updated HBASE-5113:
------------------------------
Attachment: 5113.txt
Looped TestDrainingServer 5 times using the patch and they all passed.
> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira