You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Doug Meil (Updated) (JIRA)" <ji...@apache.org> on 2012/02/16 22:56:59 UTC

[jira] [Updated] (HBASE-5397) [book] zookeeper quorum mistake

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

Doug Meil updated HBASE-5397:
-----------------------------

    Attachment: docbkx_hbase_5397.patch
    
> [book] zookeeper quorum mistake
> -------------------------------
>
>                 Key: HBASE-5397
>                 URL: https://issues.apache.org/jira/browse/HBASE-5397
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andre Medeiros
>            Assignee: Doug Meil
>            Priority: Minor
>         Attachments: docbkx_hbase_5397.patch
>
>
> In Chapter 2, section 2.5 "ZooKeeper" under "How many ZooKeepers should I run?" there is the sentence
> *There can be no quorum if the number of members is an even number.*
> This is not true. In ZooKeeper, an even number of peers is supported, but it is normally not used because an even sized ensemble requires, proportionally, more peers to form a quorum than an odd sized ensemble requires. For example, an ensemble with 4 peers requires 3 to form a quorum, while an ensemble with 5 also requires 3 to form a quorum. Thus, an ensemble of 5 allows 2 peers to fail, and thus is more fault tolerant than the ensemble of 4, which allows only 1 down peer.

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