hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4603) Uneeded sleep time for tests in hbase.master.ServerManager#waitForRegionServers
Date Tue, 18 Oct 2011 11:04:10 GMT

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

stack commented on HBASE-4603:
------------------------------

@Jon That sounds like the right thing to do.

@nkeywal See src/test/resources/hbase-site.xml for where to put tests specific configs (Just
FYI).
                
> Uneeded sleep time for tests in hbase.master.ServerManager#waitForRegionServers
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-4603
>                 URL: https://issues.apache.org/jira/browse/HBASE-4603
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.92.0
>         Environment: all.
>            Reporter: nkeywal
>            Assignee: nkeywal
>            Priority: Minor
>         Attachments: 20111017_4603_MiniHBaseCluster.patch
>
>
> This functions waits for at least 2 times hbase.master.wait.on.regionservers.interval,
defaulted at 3 seconds, i.e. 6 seconds for every mini hbase cluster starts.
> In the context of a mini cluster, it's not useful, as the regions servers are created
locally.
> Changing this to a lower value such as 100ms gives 5.8 second per HBase cluser start.
It should lower the build time on the apache server by more than 8%.
> Beeing more aggressive (removing all the wait time) could be possible as well. To be
studied later.

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

        

Mime
View raw message