[jira] Assigned: (ZOOKEEPER-702) GSoC 2010: Failure Detector Model

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt reassigned ZOOKEEPER-702: -- Assignee: Abmar Barros > GSoC 2010: Failure Detector Model > ---

[jira] Updated: (ZOOKEEPER-765) Add python example script

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-765: --- Assignee: Travis Crawford Fix Version/s: 3.4.0 Component/s: contrib-bindings

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Kapil Thangavelu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kapil Thangavelu updated ZOOKEEPER-763: --- Attachment: stack-trace-deadlock.txt A gdb stack trace on the process after it dea

Re: ZKClient

2010-05-05 Thread Patrick Hunt
While I agree DS is hard, I don't think we should lose the useful feedback given by Jonathan/Adam - that getting started with ZK is challenging and can be frustrating. We need to learn from this feedback and create some action items to address. One of the main things I've heard so far that we c

[jira] Commented: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864429#action_12864429 ] Henry Robinson commented on ZOOKEEPER-763: -- Hi Kapil - As seems to be the nor

[jira] Created: (ZOOKEEPER-766) forrest recipes docs don't mention the lock/queue recipe implementations available in the release

2010-05-05 Thread Patrick Hunt (JIRA)
forrest recipes docs don't mention the lock/queue recipe implementations available in the release - Key: ZOOKEEPER-766 URL: https://issues.apache.org/jira/browse/ZOOKE

[jira] Commented: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Kapil Thangavelu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864452#action_12864452 ] Kapil Thangavelu commented on ZOOKEEPER-763: Hi Henry The issue with the ex

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Kapil Thangavelu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kapil Thangavelu updated ZOOKEEPER-763: --- Attachment: deadlock_v2.py new version of the deadlock script that uses an explici

Demo Code: Shared/Exclusive Lock

2010-05-05 Thread Sam Baskinger
All, It was suggested that more demo code would be welcome. I've gotten the "OK" to release a shared/exclusive Lock.java implementation we have in our test labs at Networked Insights. If the community would find it useful, please do use it! :) All the best, and thanks for the excellent tool,

Re: Demo Code: Shared/Exclusive Lock

2010-05-05 Thread Henry Robinson
Sam - This is great - the more contributed code the better! Did you attach the code to your mail? The mailing lists strip out attachments. If you wouldn't mind creating a JIRA (see https://issues.apache.org/jira/browse/ZOOKEEPER), formatting your code as a patch and clicking the button that says

Re: Demo Code: Shared/Exclusive Lock

2010-05-05 Thread Mahadev Konar
Great to see this IT would be good to have this contributed. Sam, how does this compare to locks implementation currently in src/recipes? Anyhow a well tested and used implementation would nevertheless be useful! You can open a jira and submit your code to it. I am pretty committers will be w

[jira] Commented: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864488#action_12864488 ] Henry Robinson commented on ZOOKEEPER-763: -- Kapil - Thanks! Adding that sleep

GSoC 2010: ZooKeeper Failure Detector Module

2010-05-05 Thread Abmar Barros
Hello all, As Henry Robinson first introduced me, my name is Abmar Barros and I am one of the GSoC accepted students for ZooKeeper. In the next 4 months, I will be being mentored by Flavio Junqueira in order to improve ZooKeeper's failure detector module. In this project I will abstract the failur

[jira] Created: (ZOOKEEPER-767) Submitting Demo/Recipe Shared / Exclusive Lock Code

2010-05-05 Thread Sam Baskinger (JIRA)
Submitting Demo/Recipe Shared / Exclusive Lock Code --- Key: ZOOKEEPER-767 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-767 Project: Zookeeper Issue Type: Improvement Componen

[jira] Updated: (ZOOKEEPER-767) Submitting Demo/Recipe Shared / Exclusive Lock Code

2010-05-05 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-767: Fix Version/s: 3.4.0 > Submitting Demo/Recipe Shared / Exclusive Lock Code > ---

[jira] Updated: (ZOOKEEPER-767) Submitting Demo/Recipe Shared / Exclusive Lock Code

2010-05-05 Thread Sam Baskinger (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Baskinger updated ZOOKEEPER-767: Status: Patch Available (was: Open) Release Note: New recipe code. Fix V

[jira] Updated: (ZOOKEEPER-767) Submitting Demo/Recipe Shared / Exclusive Lock Code

2010-05-05 Thread Sam Baskinger (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Baskinger updated ZOOKEEPER-767: Attachment: Lock.java.patch Patch file for com.ni.zookeeper.utils.Lock. This patch shou

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-763: - Assignee: Henry Robinson (was: Mahadev konar) Fix Version/s: 3.3.1 Comp

Re: Demo Code: Shared/Exclusive Lock

2010-05-05 Thread Sam Baskinger
Mahadev and Henry, Thanks for the warm welcome and patience. :) The code is lightly used and has been manually tested to block and release. As Networked Insights transitions code out of its labs it generally matures the code through a refactor and adding additional tests. This code is still so

[jira] Updated: (ZOOKEEPER-767) Submitting Demo/Recipe Shared / Exclusive Lock Code

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-767: --- Assignee: Sam Baskinger Fix Version/s: 3.4.0 > Submitting Demo/Recipe Shared / Ex

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-763: - Attachment: ZOOKEEPER-763.patch Patch attached, with new test (note that test will han

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-763: - Status: Patch Available (was: Open) > Deadlock on close w/ zkpython / c client >

[jira] Commented: (ZOOKEEPER-767) Submitting Demo/Recipe Shared / Exclusive Lock Code

2010-05-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864506#action_12864506 ] Hadoop QA commented on ZOOKEEPER-767: - -1 overall. Here are the results of testing

[jira] Commented: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864508#action_12864508 ] Hadoop QA commented on ZOOKEEPER-763: - -1 overall. Here are the results of testing

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-763: - Attachment: ZOOKEEPER-763.patch Forgot --no-prefix again :/ > Deadlock on close w/ zk

[jira] Updated: (ZOOKEEPER-766) forrest recipes docs don't mention the lock/queue recipe implementations available in the release

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-766: --- Status: Patch Available (was: Open) > forrest recipes docs don't mention the lock/queue r

[jira] Updated: (ZOOKEEPER-766) forrest recipes docs don't mention the lock/queue recipe implementations available in the release

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-766: --- Attachment: ZOOKEEPER-766.patch update the forrest docs with ref to the queue/lock recipes

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-763: - Status: Patch Available (was: Open) > Deadlock on close w/ zkpython / c client >

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-763: - Status: Open (was: Patch Available) > Deadlock on close w/ zkpython / c client >

[jira] Commented: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864517#action_12864517 ] Patrick Hunt commented on ZOOKEEPER-763: This addressed the problem on my machin

[jira] Commented: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Kapil Thangavelu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864523#action_12864523 ] Kapil Thangavelu commented on ZOOKEEPER-763: works for me on a couple of dif

[jira] Updated: (ZOOKEEPER-764) Observer elected leader due to inconsistent voting view

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-764: - Attachment: ZOOKEEPER-764_3_3_1.patch Patch to apply against 3_3_1 > Observer elected

[jira] Commented: (ZOOKEEPER-766) forrest recipes docs don't mention the lock/queue recipe implementations available in the release

2010-05-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864538#action_12864538 ] Hadoop QA commented on ZOOKEEPER-766: - +1 overall. Here are the results of testing

[jira] Commented: (ZOOKEEPER-766) forrest recipes docs don't mention the lock/queue recipe implementations available in the release

2010-05-05 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864540#action_12864540 ] Mahadev konar commented on ZOOKEEPER-766: - +1 looks good. > forrest recipes doc

[jira] Commented: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864539#action_12864539 ] Hadoop QA commented on ZOOKEEPER-763: - +1 overall. Here are the results of testing

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-763: --- Attachment: ZOOKEEPER-763_3_3_1.patch updated patch for 3.3 branch > Deadlock on close w/

[jira] Updated: (ZOOKEEPER-763) Deadlock on close w/ zkpython / c client

2010-05-05 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-763: --- Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Resolutio

[jira] Updated: (ZOOKEEPER-764) Observer elected leader due to inconsistent voting view

2010-05-05 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-764: Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Resolut

[jira] Updated: (ZOOKEEPER-766) forrest recipes docs don't mention the lock/queue recipe implementations available in the release

2010-05-05 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-766: Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Resolut

[jira] Updated: (ZOOKEEPER-740) zkpython leading to segfault on zookeeper

2010-05-05 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-740: - Fix Version/s: (was: 3.3.1) Can't reproduce, or diagnose without code, moving to 3

Re: GSoC 2010: ZooKeeper Failure Detector Module

2010-05-05 Thread Adam Rosien
Hi Abmar, cool project! I wrote an implementation of the Phi Accrual Detector which I would be happy to donate. It has the nice property that its parameters are based on expectation odds rather than something more arbitrary like # retries. You can steal it at http://github.com/arosien/failure. It