hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nkeywal (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4993) Performance regression in minicluster creation
Date Sat, 24 Mar 2012 00:27:28 GMT

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

nkeywal commented on HBASE-4993:
--------------------------------

Hi JD,

You're right, there is a bug. The code does not do what the documentation
says it does.
It seems that changing the code to {code} (count < minToStart ||
lastCountChange+interval > now){code} would make the code works as
documented.

If you have 0 region servers that checked in and you are under the
interval, you wait: (true or true) = true.
If you have 0 region servers but you are above the interval, you wait:
(true or false) = true.
If you have 1 or more region servers that checked in and you are under the
interval, you wait: (false or true) = true.

Would that be ok for you, or do you want to change the documented behavior
as well?
Note that we could also change the default values for the min number of
servers or the interval.

On Fri, Mar 23, 2012 at 11:07 PM, Jean-Daniel Cryans (Commented) (JIRA) <


                
> Performance regression in minicluster creation
> ----------------------------------------------
>
>                 Key: HBASE-4993
>                 URL: https://issues.apache.org/jira/browse/HBASE-4993
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.94.0
>         Environment: all
>            Reporter: nkeywal
>            Assignee: nkeywal
>             Fix For: 0.94.0
>
>         Attachments: 4993.patch, 4993.v3.patch
>
>
> Side effect of 4610: the mini cluster needs 4,5 seconds to start

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