Build failed in Hudson: ZooKeeper-trunk #784

2010-04-12 Thread Apache Hudson Server
See 

Changes:

[phunt] ZOOKEEPER-722. zkServer.sh uses sh's builtin echo on BSD, behaves 
incorrectly.

[phunt] ZOOKEEPER-720. Use zookeeper-{version}-sources.jar instead of 
zookeeper-{version}-src.jar to publish sources in the Maven repository

--
Started by timer
Building remotely on hadoop8 (Ubuntu)
Updating http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk
U CHANGES.txt
U bin/zkServer.sh
U README.txt
U build.xml
Fetching 'http://svn.apache.org/repos/asf/hadoop/nightly/test-patch' at -1 into 
'
At revision 933182
At revision 933181
Updating http://svn.apache.org/repos/asf/hadoop/nightly
At revision 933181
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
no change for http://svn.apache.org/repos/asf/hadoop/nightly/test-patch since 
the previous build
FATAL: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.decorateArgs(CloverBuildWrapper.java:186)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.launch(CloverBuildWrapper.java:161)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$ProcStarter.join(Launcher.java:275)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.Build$RunnerImpl.build(Build.java:165)
at hudson.model.Build$RunnerImpl.doRun(Build.java:132)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1243)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)



Build failed in Hudson: ZooKeeper-trunk #785

2010-04-12 Thread Apache Hudson Server
See 

--
[...truncated 748 lines...]
A src/recipes/queue/test/org
A src/recipes/queue/test/org/apache
A src/recipes/queue/test/org/apache/zookeeper
A src/recipes/queue/test/org/apache/zookeeper/recipes
A src/recipes/queue/test/org/apache/zookeeper/recipes/queue
A 
src/recipes/queue/test/org/apache/zookeeper/recipes/queue/DistributedQueueTest.java
A src/recipes/queue/src
A src/recipes/queue/src/java
A src/recipes/queue/src/java/org
A src/recipes/queue/src/java/org/apache
A src/recipes/queue/src/java/org/apache/zookeeper
A src/recipes/queue/src/java/org/apache/zookeeper/recipes
A src/recipes/queue/src/java/org/apache/zookeeper/recipes/queue
A 
src/recipes/queue/src/java/org/apache/zookeeper/recipes/queue/DistributedQueue.java
A src/recipes/queue/src/c
A src/recipes/queue/src/c/LICENSE
A src/recipes/queue/src/c/tests
A src/recipes/queue/src/c/tests/TestDriver.cc
A src/recipes/queue/src/c/tests/Util.cc
A src/recipes/queue/src/c/tests/TestClient.cc
A src/recipes/queue/src/c/tests/Util.h
AUsrc/recipes/queue/src/c/tests/zkServer.sh
A src/recipes/queue/src/c/configure.ac
A src/recipes/queue/src/c/include
A src/recipes/queue/src/c/include/zoo_queue.h
A src/recipes/queue/src/c/INSTALL
A src/recipes/queue/src/c/acinclude.m4
A src/recipes/queue/src/c/c-doc.Doxyfile
A src/recipes/queue/src/c/src
A src/recipes/queue/src/c/src/zoo_queue.c
A src/recipes/queue/src/c/Makefile.am
A src/recipes/queue/src/c/README.txt
A src/recipes/queue/src/c/aminclude.am
A src/recipes/queue/README.txt
A src/recipes/queue/build.xml
AUsrc/recipes/build-recipes.xml
A src/recipes/lock
A src/recipes/lock/test
A src/recipes/lock/test/org
A src/recipes/lock/test/org/apache
A src/recipes/lock/test/org/apache/zookeeper
A src/recipes/lock/test/org/apache/zookeeper/recipes
A src/recipes/lock/test/org/apache/zookeeper/recipes/lock
AU
src/recipes/lock/test/org/apache/zookeeper/recipes/lock/ZNodeNameTest.java
AU
src/recipes/lock/test/org/apache/zookeeper/recipes/lock/WriteLockTest.java
A src/recipes/lock/src
A src/recipes/lock/src/java
A src/recipes/lock/src/java/org
A src/recipes/lock/src/java/org/apache
A src/recipes/lock/src/java/org/apache/zookeeper
A src/recipes/lock/src/java/org/apache/zookeeper/recipes
A src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock
AU
src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/ZNodeName.java
AU
src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/WriteLock.java
AU
src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/ZooKeeperOperation.java
AU
src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/LockListener.java
AU
src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/ProtocolSupport.java
A src/recipes/lock/src/c
AUsrc/recipes/lock/src/c/LICENSE
A src/recipes/lock/src/c/tests
AUsrc/recipes/lock/src/c/tests/TestDriver.cc
AUsrc/recipes/lock/src/c/tests/Util.cc
AUsrc/recipes/lock/src/c/tests/TestClient.cc
AUsrc/recipes/lock/src/c/tests/Util.h
AUsrc/recipes/lock/src/c/tests/zkServer.sh
AUsrc/recipes/lock/src/c/configure.ac
A src/recipes/lock/src/c/include
AUsrc/recipes/lock/src/c/include/zoo_lock.h
AUsrc/recipes/lock/src/c/INSTALL
AUsrc/recipes/lock/src/c/acinclude.m4
A src/recipes/lock/src/c/c-doc.Doxyfile
A src/recipes/lock/src/c/src
AUsrc/recipes/lock/src/c/src/zoo_lock.c
AUsrc/recipes/lock/src/c/Makefile.am
AUsrc/recipes/lock/src/c/README.txt
AUsrc/recipes/lock/src/c/aminclude.am
AUsrc/recipes/lock/README.txt
AUsrc/recipes/lock/build.xml
AUsrc/recipes/README.txt
AUsrc/recipes/build.xml
AUsrc/lastRevision.sh
A bin
A bin/zkEnv.cmd
AUbin/zkServer.sh
AUbin/zkCleanup.sh
AUbin/zkCli.sh
AUbin/zkEnv.sh
A bin/README.txt
A bin/zkServer.cmd
A bin/zkCli.cmd
A docs
AUdocs/zookeeperAdmin.html
A docs/bookkeeperStarted.html
AUdocs/zookeeperAdmin.pdf
A docs/zookeeperJMX.html
A docs/bookkeeperOverview.pdf
A docs/bookkeeperProgrammer.html
AUdocs/zookeeperOtherInfo.pdf
A docs/zookeeperJMX.pdf
A docs/bookkeeperProgrammer.pdf
AUdocs/zookeeperTutorial.html
AUdocs/zookeeperInternals.pdf
AUdocs/releasenotes.html
AUdocs/broken-links.xml
AUdocs/linkmap.html
AUdocs/ja

Build failed in Hudson: ZooKeeper-trunk #786

2010-04-12 Thread Apache Hudson Server
See 

--
Started by user gkesavan
Building remotely on hadoop8 (Ubuntu)
Updating http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk
Fetching 'http://svn.apache.org/repos/asf/hadoop/nightly/test-patch' at -1 into 
'
At revision 92
At revision 92
Updating http://svn.apache.org/repos/asf/hadoop/nightly
At revision 92
no change for http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk since the 
previous build
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
no change for http://svn.apache.org/repos/asf/hadoop/nightly/test-patch since 
the previous build
FATAL: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.decorateArgs(CloverBuildWrapper.java:186)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.launch(CloverBuildWrapper.java:161)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$ProcStarter.join(Launcher.java:275)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.Build$RunnerImpl.build(Build.java:165)
at hudson.model.Build$RunnerImpl.doRun(Build.java:132)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1243)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)



Build failed in Hudson: ZooKeeper-trunk #787

2010-04-12 Thread Apache Hudson Server
See 

--
Started by user gkesavan
Building remotely on hadoop8 (Ubuntu)
Updating http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk
Fetching 'http://svn.apache.org/repos/asf/hadoop/nightly/test-patch' at -1 into 
'
At revision 94
At revision 94
Updating http://svn.apache.org/repos/asf/hadoop/nightly
At revision 94
no change for http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk since the 
previous build
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
no change for http://svn.apache.org/repos/asf/hadoop/nightly/test-patch since 
the previous build
FATAL: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.decorateArgs(CloverBuildWrapper.java:186)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.launch(CloverBuildWrapper.java:161)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$ProcStarter.join(Launcher.java:275)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.Build$RunnerImpl.build(Build.java:165)
at hudson.model.Build$RunnerImpl.doRun(Build.java:132)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1243)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)



Build failed in Hudson: ZooKeeper-trunk #788

2010-04-12 Thread Apache Hudson Server
See 

--
Started by user gkesavan
Building remotely on hadoop8 (Ubuntu)
Updating http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk
Fetching 'http://svn.apache.org/repos/asf/hadoop/nightly/test-patch' at -1 into 
'
At revision 933350
At revision 933350
Updating http://svn.apache.org/repos/asf/hadoop/nightly
At revision 933350
no change for http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk since the 
previous build
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
no change for http://svn.apache.org/repos/asf/hadoop/nightly/test-patch since 
the previous build
FATAL: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.decorateArgs(CloverBuildWrapper.java:186)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.launch(CloverBuildWrapper.java:161)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$ProcStarter.join(Launcher.java:275)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.Build$RunnerImpl.build(Build.java:165)
at hudson.model.Build$RunnerImpl.doRun(Build.java:132)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1243)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)



Build failed in Hudson: ZooKeeper-trunk #789

2010-04-12 Thread Apache Hudson Server
See 

--
Started by user gkesavan
Building remotely on hadoop8 (Ubuntu)
Updating http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk
Fetching 'http://svn.apache.org/repos/asf/hadoop/nightly/test-patch' at -1 into 
'
At revision 933350
At revision 933350
Updating http://svn.apache.org/repos/asf/hadoop/nightly
At revision 933350
no change for http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk since the 
previous build
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
no change for http://svn.apache.org/repos/asf/hadoop/nightly/test-patch since 
the previous build
FATAL: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.decorateArgs(CloverBuildWrapper.java:186)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.launch(CloverBuildWrapper.java:161)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$ProcStarter.join(Launcher.java:275)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.Build$RunnerImpl.build(Build.java:165)
at hudson.model.Build$RunnerImpl.doRun(Build.java:132)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1243)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)



Build failed in Hudson: ZooKeeper-trunk #790

2010-04-12 Thread Apache Hudson Server
See 

--
Started by user gkesavan
Building remotely on hadoop8 (Ubuntu)
Updating http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk
Fetching 'http://svn.apache.org/repos/asf/hadoop/nightly/test-patch' at -1 into 
'
At revision 933350
At revision 933350
Updating http://svn.apache.org/repos/asf/hadoop/nightly
At revision 933350
no change for http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk since the 
previous build
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
no change for http://svn.apache.org/repos/asf/hadoop/nightly/test-patch since 
the previous build
FATAL: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.decorateArgs(CloverBuildWrapper.java:186)
at 
hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.launch(CloverBuildWrapper.java:161)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$ProcStarter.join(Launcher.java:275)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.Build$RunnerImpl.build(Build.java:165)
at hudson.model.Build$RunnerImpl.doRun(Build.java:132)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1243)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)



Hudson build is back to normal : ZooKeeper-trunk #791

2010-04-12 Thread Apache Hudson Server
See 




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Henry Robinson (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henry Robinson updated ZOOKEEPER-729:
-

Hadoop Flags: [Reviewed]

+1, patch looks good to me - waiting for HudsonBot to give us its verdict.

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-729:
---

Status: Patch Available  (was: Open)

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-729:
---

Status: Open  (was: Patch Available)

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Kay Kay (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856195#action_12856195
 ] 

Kay Kay commented on ZOOKEEPER-729:
---

Patrick -Thanks for helping flipping the status. I did try to do that a couple 
of times ago, but hudson does not seem to pick up after the first patch !

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Patrick Hunt (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856199#action_12856199
 ] 

Patrick Hunt commented on ZOOKEEPER-729:


It's not you Kay, Hudson has been borked, Giri only just recently got it back.
sometimes it seems to forget pending, it's running now:
http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/51/

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: Implementing java.util.concurrent.* interfaces

2010-04-12 Thread Taylor Gautier
On Mon, Mar 29, 2010 at 4:45 PM, Mahadev Konar wrote:

> Hi Taylor,
>  Really glad to see that you'd like to work on the recipes. As per your
> questions, comments are in lined:
>
> > - it should implement the java.util.concurrent interfaces so that the
> > implementation may be used by anyone already familiar with the
> > java.util.concurrent.* interfaces
> The problem with implementing concurrent interfaces is that we do not have
> a
> nice way to propagating errors back to the application in case of errors.
> It
> is very much possible that if you have acquired a lock using lock(), you
> might lose it because of some session expiry or network connection loss
> which corresponds to you losing the ownership of the lock.
>
> I am not sure how we could get arnd this. Though throwing RuntimeExceptions
> for lock()/unlock() might solve part of the problem but not all of it.
>

This is a good point - I suppose implementing a semaphore would be a better
approach and would map more closely to the available operations.


>
> > - it should be located in a jar that is easily accessible in a standard
> > location but I don't see a standard way of writing and making available
> > value-add libraries on top of ZooKeeper primitives - is there one?
> I am not sure what you mean by that? Do you want to publish the jar onto
> maven?
> > - there are some minor issues with safe publication of mutable values in
> the
> > code provided that should be fixed
> >
> Please go ahead and file a jira. Patches are always wecome! :)

> May someone please inform me on the best way to proceed?
>
> The best way would be to open a jira and start a discussion on it. You can
> put forward your proposal on the jira and then ask for feedback.
>
>
Ok - when I scrounge up some more time I would like to continue with this
thread - I had a deeper look at the concurrent classes after your comment
and many of them will likely map properly from a conceptual pov - and then
others won't (like Locks).  Mostly the Queue class will (and it has an
available interface to implement) while others like CountDownLatch and
CyclicBarrier and AtomicInteger map reasonably well conceptually, but there
is no interface to implement (can only just copy the signature).


[jira] Created: (ZOOKEEPER-739) use a simple command-line parsing library for flexibility in command-line arguments

2010-04-12 Thread Kay Kay (JIRA)
use a simple command-line parsing library for flexibility in command-line 
arguments 


 Key: ZOOKEEPER-739
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-739
 Project: Zookeeper
  Issue Type: Improvement
Reporter: Kay Kay


JOpt is being used by HBase team and very light-weight.  

http://jopt-simple.sourceforge.net/examples.html 

 3.2 


mvn artifacts are available in public repositories, so integrating with ivy 
should not be an issue either. 

Check if that makes sense. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Kay Kay (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856222#action_12856222
 ] 

Kay Kay commented on ZOOKEEPER-729:
---

The build seems to have failed, although the tests seem to have passed. 

http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/51/testReport/org.apache.zookeeper/ZooKeeperTest/
   . 

Any idea why the build failed ? 


> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Henry Robinson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856224#action_12856224
 ] 

Henry Robinson commented on ZOOKEEPER-729:
--

I *think* it's due to a documentation warning as there is a link target in one 
of the headers that doesn't exist.

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Patrick Hunt (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856230#action_12856230
 ] 

Patrick Hunt commented on ZOOKEEPER-729:


 [exec] -1 javadoc.  The javadoc tool appears to have generated 1 
warning messages.

Also, there's all kinds of fallout because of the security breach from friday. 
afaict infra ops is still making changes.

I'll ping Giri again (may be a known issue).

but it seems that hudson is unable to update JIRA. so Something is still borked 
regardless.


> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch, ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Kay Kay (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kay Kay updated ZOOKEEPER-729:
--

Attachment: ZOOKEEPER-729.patch

Added javadoc to ZookeeperTest + license headers

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch, ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Kay Kay (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kay Kay updated ZOOKEEPER-729:
--

Status: Open  (was: Patch Available)

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch, ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Kay Kay (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856232#action_12856232
 ] 

Kay Kay commented on ZOOKEEPER-729:
---

release audit warnings mentions about - ZookeeperTest . 

http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/51/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt
 . 

New patch added - that hopefully addresses the issue. 

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch, ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Kay Kay (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kay Kay updated ZOOKEEPER-729:
--

Status: Patch Available  (was: Open)

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch, ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-729:
---

Status: Open  (was: Patch Available)

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch, ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-729) Recursively delete a znode - zkCli.sh rmr /node

2010-04-12 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-729:
---

Status: Patch Available  (was: Open)

> Recursively delete a znode  - zkCli.sh rmr /node
> 
>
> Key: ZOOKEEPER-729
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-729
> Project: Zookeeper
>  Issue Type: New Feature
>  Components: java client
>Reporter: Kay Kay
>Assignee: Kay Kay
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-729.patch, ZOOKEEPER-729.patch, 
> ZOOKEEPER-729.patch, ZOOKEEPER-729.patch
>
>
> Recursively delete a given znode in zookeeper, from the command-line. 
> New operation "rmr" added to zkclient. 
> $ ./zkCli.sh rmr /node 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira