Fast leader election algorithm throws NPE and hangs

2008-08-18 Thread Anthony Urso
I updated trunk to current to get the diff for ZOOKEEPER-122, and I stopped being able to run my dev zookeeper cluster in distributed mode. In order to get it running again, I had to specify the election algorithm to be 0. One of the servers gets this NPE: Exception in thread "Thread-2" java.lan

Re: Fast leader election algorithm throws NPE and hangs

2008-08-19 Thread Anthony Urso
are there defaults? I will try them next time I need to bring the cluster down. > > In any case, there seems to be a race condition in QuorumCnxManager, which > I'll investigate. > > Thanks, > -Flavio > > >> -Original Message- >> From: Anthony Urs

[jira] Created: (ZOOKEEPER-912) ZooKeeper client logs trace and debug messages at level INFO

2010-10-25 Thread Anthony Urso (JIRA)
Components: java client Affects Versions: 3.3.1 Reporter: Anthony Urso Priority: Minor ZK logs a lot of uninformative trace and debug messages to level INFO. This fuzzes up everything and makes it easy to miss useful log info. -- This message is automatically

[jira] Updated: (ZOOKEEPER-912) ZooKeeper client logs trace and debug messages at level INFO

2010-10-25 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-912: --- Attachment: zk-loglevel.patch This patch attempts to lower the log level of debug and

[jira] Created: (ZOOKEEPER-913) Version parser fails to parse "3.3.2-dev" from build.xml.

2010-10-25 Thread Anthony Urso (JIRA)
Type: Bug Components: build Affects Versions: 3.3.1 Reporter: Anthony Urso Priority: Critical Attachments: zk-build.patch, zk-version.patch Cannot build 3.3.1 from release tarball do to VerGen parser inability to parse "3.3.2-dev". version-info:

[jira] Updated: (ZOOKEEPER-913) Version parser fails to parse "3.3.2-dev" from build.xml.

2010-10-25 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-913: --- Attachment: zk-version.patch zk-build.patch Two possible solutions

[jira] Commented: (ZOOKEEPER-912) ZooKeeper client logs trace and debug messages at level INFO

2010-10-27 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925699#action_12925699 ] Anthony Urso commented on ZOOKEEPER-912: I don't think you under

[jira] Commented: (ZOOKEEPER-913) Version parser fails to parse "3.3.2-dev" from build.xml.

2010-11-09 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930356#action_12930356 ] Anthony Urso commented on ZOOKEEPER-913: Looks great, thanks! > Version

[jira] Created: (ZOOKEEPER-66) Add NullWatcher, a watcher that does nothing

2008-07-03 Thread Anthony Urso (JIRA)
Reporter: Anthony Urso Priority: Minor I found that I was repeating this code all over the place. Here is a NullWatcher class, a Watcher that does nothing at all. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the

[jira] Updated: (ZOOKEEPER-66) Add NullWatcher, a watcher that does nothing

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-66: -- Status: Patch Available (was: Open) Patch attached. > Add NullWatcher, a watcher that d

[jira] Updated: (ZOOKEEPER-66) Add NullWatcher, a watcher that does nothing

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-66: -- Status: Open (was: Patch Available) Patch not attached. > Add NullWatcher, a watcher t

[jira] Updated: (ZOOKEEPER-66) Add NullWatcher, a watcher that does nothing

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-66: -- Attachment: nullwatcher.diff Patch attached. > Add NullWatcher, a watcher that does noth

[jira] Created: (ZOOKEEPER-67) Add a two argument constructor to ZooKeeper that uses a NullWatcher for the default Watcher

2008-07-03 Thread Anthony Urso (JIRA)
Project: Zookeeper Issue Type: Improvement Components: java client Reporter: Anthony Urso Priority: Minor This patch adds a two argument constructor to ZooKeeper that uses a NullWatcher for the default Watcher. -- This message is

[jira] Updated: (ZOOKEEPER-67) Add a two argument constructor to ZooKeeper that uses a NullWatcher for the default Watcher

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-67: -- Attachment: twoarg.diff Patch attached. > Add a two argument constructor to ZooKeeper t

[jira] Updated: (ZOOKEEPER-67) Add a two argument constructor to ZooKeeper that uses a NullWatcher for the default Watcher

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-67: -- Status: Patch Available (was: Open) Patch attached. > Add a two argument constructor

[jira] Updated: (ZOOKEEPER-66) Add NullWatcher, a watcher that does nothing

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-66: -- Comment: was deleted > Add NullWatcher, a watcher that does noth

[jira] Updated: (ZOOKEEPER-66) Add NullWatcher, a watcher that does nothing

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-66: -- Status: Patch Available (was: Open) Patch attached again. > Add NullWatcher, a watc

[jira] Updated: (ZOOKEEPER-66) Add NullWatcher, a watcher that does nothing

2008-07-03 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-66: -- Comment: was deleted > Add NullWatcher, a watcher that does noth

[jira] Created: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-25 Thread Anthony Urso (JIRA)
: Zookeeper Issue Type: New Feature Components: java client Reporter: Anthony Urso Priority: Minor Here is an implementation of a ZooKeeper backed Java Set. It should be generally useful. -- This message is automatically generated by JIRA. - You can reply to

[jira] Updated: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-25 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-104: --- Attachment: ZOOKEEPER-104.patch > KeptSet: a distributed data stucture backed by

[jira] Updated: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-25 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-104: --- Status: Patch Available (was: Open) Patch attached. > KeptSet: a distributed d

[jira] Created: (ZOOKEEPER-105) ZooKeeper java client main loop crashes on KeeperExceptions

2008-07-25 Thread Anthony Urso (JIRA)
Components: java client Affects Versions: 3.0.0 Reporter: Anthony Urso Priority: Minor The ZooKeeper java client main loop crashes on KeeperExceptions. They should be handled when possible. -- This message is automatically generated by JIRA. - You can reply to this

[jira] Updated: (ZOOKEEPER-105) ZooKeeper java client main loop crashes on KeeperExceptions

2008-07-25 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-105: --- Attachment: ZOOKEEPER-105.patch Patch that wraps the processing of commands with a catch

[jira] Updated: (ZOOKEEPER-105) ZooKeeper java client main loop crashes on KeeperExceptions

2008-07-25 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-105: --- Status: Patch Available (was: Open) Patch attached. > ZooKeeper java client main l

[jira] Commented: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-28 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617551#action_12617551 ] Anthony Urso commented on ZOOKEEPER-104: >> You might conside

[jira] Updated: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-28 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-104: --- Attachment: (was: ZOOKEEPER-104.patch) > KeptSet: a distributed data stucture bac

[jira] Updated: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-28 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-104: --- Attachment: ZOOKEEPER-104.patch Revised patch attached, > KeptSet: a distributed d

[jira] Commented: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-29 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618017#action_12618017 ] Anthony Urso commented on ZOOKEEPER-104: >> I took the liberty of m

[jira] Commented: (ZOOKEEPER-104) KeptSet: a distributed data stucture backed by the children of a ZooKeeper node

2008-07-31 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618903#action_12618903 ] Anthony Urso commented on ZOOKEEPER-104: The Set interface does not a

[jira] Created: (ZOOKEEPER-122) NPE in jute's Utils.toCSVString

2008-08-18 Thread Anthony Urso (JIRA)
NPE in jute's Utils.toCSVString --- Key: ZOOKEEPER-122 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-122 Project: Zookeeper Issue Type: Bug Reporter: Anthony

[jira] Updated: (ZOOKEEPER-122) NPE in jute's Utils.toCSVString

2008-08-18 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-122: --- Status: Patch Available (was: Open) Patch attached. > NPE in jute's Utils.toC

[jira] Updated: (ZOOKEEPER-122) NPE in jute's Utils.toCSVString

2008-08-18 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-122: --- Comment: was deleted > NPE in jute's Utils.toC

[jira] Updated: (ZOOKEEPER-122) NPE in jute's Utils.toCSVString

2008-08-18 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-122: --- Attachment: ZOOKEEPER-112.patch Patch attached. > NPE in jute's Utils.toC

[jira] Updated: (ZOOKEEPER-122) NPE in jute's Utils.toCSVString

2008-08-18 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-122: --- Attachment: (was: ZOOKEEPER-112.patch) > NPE in jute's Utils.toC

[jira] Updated: (ZOOKEEPER-122) NPE in jute's Utils.toCSVString

2008-08-18 Thread Anthony Urso (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Urso updated ZOOKEEPER-122: --- Attachment: ZOOKEEPER-122.patch > NPE in jute's Utils.toC