[ 
https://issues.apache.org/jira/browse/HBASE-7243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528851#comment-13528851
 ] 

nkeywal commented on HBASE-7243:
--------------------------------

Yep, 1 region server should be fast enough.
I think you could do the test with 1000 regions: it should push the system 
enough while being reliable in the results shown.
To determine the max time, I think there is no other way than trying and then 
add a 50% security. To lower variance, I personally use a ramdisk, but it's not 
something easy to generalize...
You can set a timeout in junit btw: @Test(timeout=10000)

This patch will be very useful to detect errors sooner (and before go live :-)


                
> Test for creating a large number of regions
> -------------------------------------------
>
>                 Key: HBASE-7243
>                 URL: https://issues.apache.org/jira/browse/HBASE-7243
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment, regionserver, test
>            Reporter: Enis Soztutar
>            Assignee: Nick Dimiduk
>              Labels: noob
>             Fix For: 0.96.0
>
>         Attachments: 7243-integration-test-many-splits.diff
>
>
> After HBASE-7220, I think it will be good to write a unit test/IT to create a 
> large number of regions. We can put a reasonable timeout to the test. 

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