You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andre Medeiros (Created) (JIRA)" <ji...@apache.org> on 2012/02/14 13:36:59 UTC
[jira] [Created] (HBASE-5397) [book] zookeeper quorum mistake
[book] zookeeper quorum mistake
-------------------------------
Key: HBASE-5397
URL: https://issues.apache.org/jira/browse/HBASE-5397
Project: HBase
Issue Type: Bug
Reporter: Andre Medeiros
Priority: Minor
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
[jira] [Updated] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "Doug Meil (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Meil updated HBASE-5397:
-----------------------------
Status: Patch Available (was: Open)
> [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
[jira] [Commented] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "Doug Meil (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207904#comment-13207904 ]
Doug Meil commented on HBASE-5397:
----------------------------------
yep
> [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
>
> 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
[jira] [Assigned] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "stack (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack reassigned HBASE-5397:
----------------------------
Assignee: Doug Meil
Can you do this Doug?
> [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
>
> 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
[jira] [Commented] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211143#comment-13211143 ]
Hudson commented on HBASE-5397:
-------------------------------
Integrated in HBase-TRUNK #2665 (See [https://builds.apache.org/job/HBase-TRUNK/2665/])
hbase-5397. performance.xml, configuration.xml - correction to ZK config. (Revision 1245199)
Result = FAILURE
> [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
[jira] [Updated] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "Doug Meil (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "Doug Meil (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209783#comment-13209783 ]
Doug Meil commented on HBASE-5397:
----------------------------------
updated that paragraph, and also added a new section in Performance chapter for ZooKeeper, pointing to that ZK config section.
> [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
[jira] [Commented] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210075#comment-13210075 ]
Hudson commented on HBASE-5397:
-------------------------------
Integrated in HBase-TRUNK-security #113 (See [https://builds.apache.org/job/HBase-TRUNK-security/113/])
hbase-5397. performance.xml, configuration.xml - correction to ZK config. (Revision 1245199)
Result = FAILURE
> [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
[jira] [Updated] (HBASE-5397) [book] zookeeper quorum mistake
Posted by "Doug Meil (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Meil updated HBASE-5397:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> [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