[ 
https://issues.apache.org/jira/browse/HBASE-8209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-8209:
----------------------------------

    Attachment: HBASE-8209-0.94-v2.patch
                HBASE-8209-trunk-v2.patch

*-v2 patches address comments and add a hardcoded 30 second timeout to 
{{waitUntilAllRegionsAssigned}}. Tested all unit tests which use this locally 
with 0.94. I'm not a fan of {{waitUntilAllRegionsAssigned}} but the aim of this 
JIRA isn't to replace it, just to fix a bug there impacting subclasses of 
LoadTest which may enable security.
                
> Improve LoadTest extensibility
> ------------------------------
>
>                 Key: HBASE-8209
>                 URL: https://issues.apache.org/jira/browse/HBASE-8209
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.95.0, 0.96.0, 0.94.7
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: HBASE-8209-0.94.patch, HBASE-8209-0.94-v2.patch, 
> HBASE-8209-trunk.patch, HBASE-8209-trunk-v2.patch
>
>
> This patch rolls up related changes:
> - Allow classes extending TestMiniClusterLoadSequential to override how 
> reader and writer threads are set up, including extending the reader and 
> writers themselves.
> - Make it so classes extending MultiThreadedWriter can cleanly override how 
> Puts are constructed.
> - Provide an option for passing in a custom table descriptor to 
> HBaseTestingUtility#createPreSplitLoadTestTable.
>     
> - HBaseTestingUtility#waitUntilAllRegionsAssigned does not check if the 
> region it is counting belongs to the table created by the test and will not 
> return if it accidentally counts "too many" regions, for example the regions 
> of the ACL table when security is enabled. (Some class based on 
> TestMiniClusterLoadSequential may want to enable security.)

--
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

Reply via email to