[jira] Updated: (ZOOKEEPER-373) One thread per bookie

2009-04-13 Thread Flavio Paiva Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Paiva Junqueira updated ZOOKEEPER-373: - Attachment: ZOOKEEPER-373.patch Preliminary patch. It does not contain

[jira] Updated: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-337: Status: Open (was: Patch Available) this patch no longer applies cleanly to trunk. Can

ZooKeeper's leader election algorithm details?

2009-04-13 Thread Andrey Kuzmin
I'd like to take a look at formal description of the leader election algorithm ZooKeeper implements (if it's not standard 'bully'). Is it available? Regards, Andrey

Re: ZooKeeper's leader election algorithm details?

2009-04-13 Thread Mahadev Konar
Hi andrew, You should be able to read about leader election in the presentation at http://wiki.apache.org/hadoop/ZooKeeper/ZooKeeperPresentations Specifically the last one at UPC. It explains the leader election in the ppt slides. We should also document it somewhere on the wiki or in our forres

[jira] Updated: (ZOOKEEPER-367) RecoveryTest failure - "unreasonable length" IOException

2009-04-13 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-367: --- Attachment: invalid1.tar.gz Seeing similar failure, this time in InvalidSnapshotTest inval

[jira] Updated: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-337: --- Attachment: ZOOKEEPER-337.patch fixed merge conflict for latest svn > improve logging in

[jira] Updated: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-337: --- Status: Patch Available (was: Open) > improve logging in leader election lookForLeader me

Re: FastLeaderElection

2009-04-13 Thread Flavio Junqueira
Hi Raghu, Upon multiple consecutive crashes (or perhaps a network partition), it is possible that we keep electing a faulty server if we only use zxid. We avoid such a problem using a logical clock as servers only consider changing their proposals if they received a notification from the sa

Re: ZooKeeper's leader election algorithm details?

2009-04-13 Thread Flavio Junqueira
Andrey, We can't use bully because we have to determine the server with highest zxid, and servers do not know it beforehand. They know each others' ids, but not the last zxid each one processed. Could you be more explicit on what you mean with a more formal description? What kind of informa

[jira] Commented: (ZOOKEEPER-367) RecoveryTest failure - "unreasonable length" IOException

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698581#action_12698581 ] Mahadev konar commented on ZOOKEEPER-367: - thanks for uploading the logs pat.. i

[jira] Commented: (ZOOKEEPER-78) added a high level protocol/feature - for easy Leader Election or exclusive Write Lock creation

2009-04-13 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698586#action_12698586 ] Patrick Hunt commented on ZOOKEEPER-78: --- zk_log.h is moved, however Makefile.am has

[jira] Commented: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698589#action_12698589 ] Hadoop QA commented on ZOOKEEPER-337: - -1 overall. Here are the results of testing

[jira] Updated: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-337: --- Status: Patch Available (was: Open) > improve logging in leader election lookForLeader me

[jira] Updated: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-337: --- Status: Open (was: Patch Available) > improve logging in leader election lookForLeader me

[jira] Updated: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-337: --- Attachment: ZOOKEEPER-337.patch Fixed findbugs warning. > improve logging in leader elec

[jira] Assigned: (ZOOKEEPER-367) RecoveryTest failure - "unreasonable length" IOException

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar reassigned ZOOKEEPER-367: --- Assignee: Mahadev konar > RecoveryTest failure - "unreasonable length" IOException

[jira] Assigned: (ZOOKEEPER-340) binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures.

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar reassigned ZOOKEEPER-340: --- Assignee: Mahadev konar > binaryinputarchive throws out runtimeexceptions for unre

[jira] Updated: (ZOOKEEPER-340) binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures.

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-340: Affects Version/s: 3.1.1 Status: Patch Available (was: Open) > binaryinp

[jira] Updated: (ZOOKEEPER-340) binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures.

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-340: Attachment: ZOOKEEPER-340.patch this patch makes the Binaryoutputarchive throw IOExcepti

[jira] Updated: (ZOOKEEPER-340) binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures.

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-340: Status: Open (was: Patch Available) cancelling it... ill uplioad the path as a part of

[jira] Issue Comment Edited: (ZOOKEEPER-340) binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures.

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698608#action_12698608 ] Mahadev konar edited comment on ZOOKEEPER-340 at 4/13/09 6:10 PM:

[jira] Updated: (ZOOKEEPER-367) RecoveryTest failure - "unreasonable length" IOException

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-367: Attachment: ZOOKEEPER-367.patch this patch should fix the issue. - the patch keeps try

[jira] Commented: (ZOOKEEPER-337) improve logging in leader election lookForLeader method when address resolution fails

2009-04-13 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698633#action_12698633 ] Hadoop QA commented on ZOOKEEPER-337: - -1 overall. Here are the results of testing

[jira] Commented: (ZOOKEEPER-361) integrate cppunit testing as part of hudson patch process.

2009-04-13 Thread Giridharan Kesavan (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698649#action_12698649 ] Giridharan Kesavan commented on ZOOKEEPER-361: -- +1 Patch works on vesta.

[jira] Updated: (ZOOKEEPER-361) integrate cppunit testing as part of hudson patch process.

2009-04-13 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-361: Resolution: Fixed Hadoop Flags: [Reviewed] Status: Resolved (was: Patch