A deficiency? You can only add children to persistent nodes

2010-03-22 Thread Dominic Williams
Hi all, I'm developing a library of primitives backed by ZooKeeper. An issue I've recently hit is that you can only add children to persistent nodes. When you're creating primitives for things like locking - for use for exampe synchronizing cluster-wide processing of a NOSQL database like

[jira] Updated: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Kelly updated ZOOKEEPER-722: - Attachment: zk-722.diff Fix by making zk use the echo executable directly when -n in use.

[jira] Updated: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Kelly updated ZOOKEEPER-722: - Release Note: Fix zkServer.sh script for BSD systems. Status: Patch Available (was:

[jira] Commented: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12848157#action_12848157 ] Hadoop QA commented on ZOOKEEPER-722: - -1 overall. Here are the results of testing

Re: A deficiency? You can only add children to persistent nodes

2010-03-22 Thread Lei Zhang
Hi Dominic, Is it acceptable to use ephemeral nodes with hierarchical names, such as starburst.cluster.nodes?

Re: A deficiency? You can only add children to persistent nodes

2010-03-22 Thread Patrick Hunt
Hi Lei, that's perfectly fine, however the issue would be that operations such as getchildren(/path) would return all these, vs if you had an explicit path structure such as getchildren(/path/starburst/cluster/nodes) - ie flat vs hierarchical. Patrick Lei Zhang wrote: Hi Dominic, Is it

[jira] Commented: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12848202#action_12848202 ] Henry Robinson commented on ZOOKEEPER-722: -- Hi Ivan - Thanks for the patch -

[jira] Updated: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Kelly updated ZOOKEEPER-722: - Attachment: zk-722.diff zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

[jira] Updated: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Kelly updated ZOOKEEPER-722: - Status: In Progress (was: Patch Available) zkServer.sh uses sh's builtin echo on BSD,

[jira] Updated: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Kelly updated ZOOKEEPER-722: - Attachment: (was: zk-722.diff) zkServer.sh uses sh's builtin echo on BSD, behaves

Begin a discussion about ZooKeeper as a top level project

2010-03-22 Thread Patrick Hunt
You have probably heard by now that there is a discussion going on in the Hadoop PMC as to whether a number of the subprojects (Hbase, Avro, Zookeeper, Hive, and Pig) should move out from under the Hadoop umbrella and become top level Apache projects (TLP). This discussion has picked up recently

[jira] Updated: (ZOOKEEPER-720) Use zookeeper-{version}-sources.jar instead of zookeeper-{version}-src.jar to publish sources in the Maven repository

2010-03-22 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson updated ZOOKEEPER-720: - Hadoop Flags: [Reviewed] Use zookeeper-{version}-sources.jar instead of

[jira] Assigned: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson reassigned ZOOKEEPER-722: Assignee: Ivan Kelly (was: Henry Robinson) Assigning back to Ivan after I gave

[jira] Assigned: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Henry Robinson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henry Robinson reassigned ZOOKEEPER-722: Assignee: Henry Robinson (was: Ivan Kelly) zkServer.sh uses sh's builtin echo

[jira] Updated: (ZOOKEEPER-464) Need procedure to garbage collect ledgers

2010-03-22 Thread Erwin Tam (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erwin Tam updated ZOOKEEPER-464: Assignee: Erwin Tam I'm working on this enhancement now and just about ready to submit this as

[jira] Updated: (ZOOKEEPER-720) Use zookeeper-{version}-sources.jar instead of zookeeper-{version}-src.jar to publish sources in the Maven repository

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-720: --- Fix Version/s: 3.4.0 Assignee: Paolo Castagna Use

[jira] Updated: (ZOOKEEPER-721) No exclusions set for log4j dependency in the generated pom.xml

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-721: --- Affects Version/s: (was: 3.3.1) (was: 3.0.0)

[jira] Commented: (ZOOKEEPER-720) Use zookeeper-{version}-sources.jar instead of zookeeper-{version}-src.jar to publish sources in the Maven repository

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12848417#action_12848417 ] Patrick Hunt commented on ZOOKEEPER-720: once 3.3.0 goes out officially we

[jira] Updated: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-722: --- Affects Version/s: 3.3.0 Fix Version/s: 3.4.0 3.3.1

[jira] Commented: (ZOOKEEPER-722) zkServer.sh uses sh's builtin echo on BSD, behaves incorrectly.

2010-03-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12848418#action_12848418 ] Hadoop QA commented on ZOOKEEPER-722: - -1 overall. Here are the results of testing

[jira] Commented: (ZOOKEEPER-719) Add throttling to BookKeeper client

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12848420#action_12848420 ] Patrick Hunt commented on ZOOKEEPER-719: Is this really a bug or improvement? If

[jira] Updated: (ZOOKEEPER-719) Add throttling to BookKeeper client

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-719: --- Affects Version/s: 3.3.0 Fix Version/s: 3.4.0 Add throttling to BookKeeper

[jira] Updated: (ZOOKEEPER-714) snapshotting doesn't handle runtime exceptions (like out of memory) well

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-714: --- Fix Version/s: 3.4.0 snapshotting doesn't handle runtime exceptions (like out of memory)

[jira] Updated: (ZOOKEEPER-715) add better reporting for initLimit being reached

2010-03-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-715: --- Fix Version/s: 3.4.0 add better reporting for initLimit being reached