You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2011/06/15 19:05:48 UTC
[jira] [Created] (ZOOKEEPER-1095) Simple leader election recipe
Simple leader election recipe
-----------------------------
Key: ZOOKEEPER-1095
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
Project: ZooKeeper
Issue Type: Improvement
Reporter: Henry Robinson
Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061459#comment-13061459 ]
Hadoop QA commented on ZOOKEEPER-1095:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12485624/ZK-1095-2.diff
against trunk revision 1143688.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 7 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/376//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/376//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/376//console
This message is automatically generated.
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Assignee: E. Sammer
> Fix For: 3.4.0
>
> Attachments: ZK-1095-2.diff, ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061610#comment-13061610 ]
Hadoop QA commented on ZOOKEEPER-1095:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12485624/ZK-1095-2.diff
against trunk revision 1143688.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 7 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/380//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/380//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/380//console
This message is automatically generated.
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Assignee: E. Sammer
> Fix For: 3.4.0
>
> Attachments: ZK-1095-2.diff, ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061045#comment-13061045 ]
Hadoop QA commented on ZOOKEEPER-1095:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12485530/ZK-1095.diff
against trunk revision 1142377.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 7 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/370//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/370//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/370//console
This message is automatically generated.
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Attachments: ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "E. Sammer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061572#comment-13061572 ]
E. Sammer commented on ZOOKEEPER-1095:
--------------------------------------
The core test failures appear to be unrelated to this patch. It's a connection loss issue.
Error Message
KeeperErrorCode = ConnectionLoss for /foo_q1
Stacktrace
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /foo_q1
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:761)
at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testBadPackets(QuorumPeerMainTest.java:428)
at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Assignee: E. Sammer
> Fix For: 3.4.0
>
> Attachments: ZK-1095-2.diff, ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-1095:
------------------------------------
Fix Version/s: 3.4.0
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Assignee: E. Sammer
> Fix For: 3.4.0
>
> Attachments: ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061892#comment-13061892 ]
Hudson commented on ZOOKEEPER-1095:
-----------------------------------
Integrated in ZooKeeper-trunk #1237 (See [https://builds.apache.org/job/ZooKeeper-trunk/1237/])
ZOOKEEPER-1095. Simple leader election recipe (Eric Sammer via henry and phunt)
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1144087
Files :
* /zookeeper/trunk/src/recipes/election/src/java
* /zookeeper/trunk/src/recipes/election/test/org/apache
* /zookeeper/trunk/src/recipes/election/test/org/apache/zookeeper/recipes/leader
* /zookeeper/trunk/src/recipes/election/build.xml
* /zookeeper/trunk/src/recipes/election/README.txt
* /zookeeper/trunk/src/recipes/election/src/java/org/apache/zookeeper
* /zookeeper/trunk/src/recipes/election/src/java/org/apache/zookeeper/recipes/leader/LeaderElectionAware.java
* /zookeeper/trunk/src/recipes/election/test
* /zookeeper/trunk/src/recipes/election/src/java/org/apache
* /zookeeper/trunk/src/recipes/election/src/java/org/apache/zookeeper/recipes/leader/LeaderOffer.java
* /zookeeper/trunk/src/recipes/election/src
* /zookeeper/trunk/src/recipes/election/src/java/org/apache/zookeeper/recipes/leader/LeaderElectionSupport.java
* /zookeeper/trunk/src/recipes/election/test/org/apache/zookeeper/recipes
* /zookeeper/trunk/src/recipes/election/src/java/org
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/recipes/election/src/java/org/apache/zookeeper/recipes
* /zookeeper/trunk/src/recipes/election
* /zookeeper/trunk/src/recipes/election/test/org
* /zookeeper/trunk/src/recipes/election/test/org/apache/zookeeper/recipes/leader/LeaderElectionSupportTest.java
* /zookeeper/trunk/src/recipes/election/src/java/org/apache/zookeeper/recipes/leader
* /zookeeper/trunk/src/recipes/election/test/org/apache/zookeeper
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Assignee: E. Sammer
> Fix For: 3.4.0
>
> Attachments: ZK-1095-2.diff, ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "E. Sammer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
E. Sammer updated ZOOKEEPER-1095:
---------------------------------
Attachment: ZK-1095-2.diff
Updated patch that uses ZK's ClientBase to configure a test server / client. Patch prefix is also fixed as to apply cleanly. Ran all tests (main and election) via the command line; everything passed.
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Assignee: E. Sammer
> Fix For: 3.4.0
>
> Attachments: ZK-1095-2.diff, ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-1095:
---------------------------------------
Assignee: E. Sammer
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.3.3
> Reporter: Henry Robinson
> Assignee: E. Sammer
> Attachments: ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1095) Simple leader election recipe
Posted by "E. Sammer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
E. Sammer updated ZOOKEEPER-1095:
---------------------------------
Attachment: ZK-1095.diff
Attached patch against ZK trunk.
This patch includes many of the suggestions made by Henry Robinson in a previous review and adds a 'leader' directory under the recipes.
> Simple leader election recipe
> -----------------------------
>
> Key: ZOOKEEPER-1095
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1095
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Henry Robinson
> Attachments: ZK-1095.diff
>
>
> Leader election recipe originally contributed to ZOOKEEPER-1080.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira