You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2017/09/24 20:56:13 UTC
[1/9] curator git commit: back to 4.0.0-SNAPSHOT for the release
Repository: curator
Updated Branches:
refs/heads/master c86ca9732 -> 6ba4de36d
back to 4.0.0-SNAPSHOT for the release
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/e40bda2e
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/e40bda2e
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/e40bda2e
Branch: refs/heads/master
Commit: e40bda2e986345aa9025f13eedbeaebaec5d2125
Parents: 15eb063
Author: randgalt <ra...@apache.org>
Authored: Wed Jul 26 09:04:07 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Wed Jul 26 09:04:07 2017 -0500
----------------------------------------------------------------------
curator-client/pom.xml | 4 ++--
curator-examples/pom.xml | 2 +-
curator-framework/pom.xml | 4 ++--
curator-recipes/pom.xml | 4 ++--
curator-test-zk34/pom.xml | 2 +-
curator-test/pom.xml | 4 ++--
curator-x-async/pom.xml | 2 +-
curator-x-discovery-server/pom.xml | 4 ++--
curator-x-discovery/pom.xml | 4 ++--
pom.xml | 2 +-
10 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-client/pom.xml
----------------------------------------------------------------------
diff --git a/curator-client/pom.xml b/curator-client/pom.xml
index e824b58..4b210da 100644
--- a/curator-client/pom.xml
+++ b/curator-client/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>curator-client</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Client</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-examples/pom.xml
----------------------------------------------------------------------
diff --git a/curator-examples/pom.xml b/curator-examples/pom.xml
index 5fb2b91..c092603 100644
--- a/curator-examples/pom.xml
+++ b/curator-examples/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>curator-examples</artifactId>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-framework/pom.xml
----------------------------------------------------------------------
diff --git a/curator-framework/pom.xml b/curator-framework/pom.xml
index 6d90764..3ae9f54 100644
--- a/curator-framework/pom.xml
+++ b/curator-framework/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>curator-framework</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Framework</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-recipes/pom.xml
----------------------------------------------------------------------
diff --git a/curator-recipes/pom.xml b/curator-recipes/pom.xml
index 6b01716..b217cf6 100644
--- a/curator-recipes/pom.xml
+++ b/curator-recipes/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>curator-recipes</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Recipes</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-test-zk34/pom.xml
----------------------------------------------------------------------
diff --git a/curator-test-zk34/pom.xml b/curator-test-zk34/pom.xml
index aea4133..6fb1808 100644
--- a/curator-test-zk34/pom.xml
+++ b/curator-test-zk34/pom.xml
@@ -3,7 +3,7 @@
<parent>
<artifactId>apache-curator</artifactId>
<groupId>org.apache.curator</groupId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-test/pom.xml
----------------------------------------------------------------------
diff --git a/curator-test/pom.xml b/curator-test/pom.xml
index 9d42ea8..8f3f1e1 100644
--- a/curator-test/pom.xml
+++ b/curator-test/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>curator-test</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
<name>Curator Testing</name>
<description>Unit testing utilities.</description>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-x-async/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-async/pom.xml b/curator-x-async/pom.xml
index 5fc6569..ceae835 100644
--- a/curator-x-async/pom.xml
+++ b/curator-x-async/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-x-discovery-server/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-discovery-server/pom.xml b/curator-x-discovery-server/pom.xml
index d4d8b6e..b77ef41 100644
--- a/curator-x-discovery-server/pom.xml
+++ b/curator-x-discovery-server/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>curator-x-discovery-server</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Service Discovery Server</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/curator-x-discovery/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-discovery/pom.xml b/curator-x-discovery/pom.xml
index 55909b6..f6d89ff 100644
--- a/curator-x-discovery/pom.xml
+++ b/curator-x-discovery/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>curator-x-discovery</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Service Discovery</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/e40bda2e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1f73b54..1e8eb4f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Curator</name>
[3/9] curator git commit: [maven-release-plugin] prepare for next
development iteration
Posted by ra...@apache.org.
[maven-release-plugin] prepare for next development iteration
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/64925a4e
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/64925a4e
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/64925a4e
Branch: refs/heads/master
Commit: 64925a4e46f17a710d2a77a6b241a3ecfddd467b
Parents: 2f1ed8f
Author: randgalt <ra...@apache.org>
Authored: Wed Jul 26 09:07:14 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Wed Jul 26 09:07:14 2017 -0500
----------------------------------------------------------------------
curator-client/pom.xml | 4 ++--
curator-examples/pom.xml | 2 +-
curator-framework/pom.xml | 4 ++--
curator-recipes/pom.xml | 4 ++--
curator-test-zk34/pom.xml | 2 +-
curator-test/pom.xml | 4 ++--
curator-x-async/pom.xml | 2 +-
curator-x-discovery-server/pom.xml | 4 ++--
curator-x-discovery/pom.xml | 4 ++--
pom.xml | 4 ++--
10 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-client/pom.xml
----------------------------------------------------------------------
diff --git a/curator-client/pom.xml b/curator-client/pom.xml
index 58c69aa..e824b58 100644
--- a/curator-client/pom.xml
+++ b/curator-client/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>curator-client</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Client</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-examples/pom.xml
----------------------------------------------------------------------
diff --git a/curator-examples/pom.xml b/curator-examples/pom.xml
index d583d1e..5fb2b91 100644
--- a/curator-examples/pom.xml
+++ b/curator-examples/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>curator-examples</artifactId>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-framework/pom.xml
----------------------------------------------------------------------
diff --git a/curator-framework/pom.xml b/curator-framework/pom.xml
index 27acf00..6d90764 100644
--- a/curator-framework/pom.xml
+++ b/curator-framework/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>curator-framework</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Framework</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-recipes/pom.xml
----------------------------------------------------------------------
diff --git a/curator-recipes/pom.xml b/curator-recipes/pom.xml
index d9b4469..6b01716 100644
--- a/curator-recipes/pom.xml
+++ b/curator-recipes/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>curator-recipes</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Recipes</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-test-zk34/pom.xml
----------------------------------------------------------------------
diff --git a/curator-test-zk34/pom.xml b/curator-test-zk34/pom.xml
index 58ca0da..aea4133 100644
--- a/curator-test-zk34/pom.xml
+++ b/curator-test-zk34/pom.xml
@@ -3,7 +3,7 @@
<parent>
<artifactId>apache-curator</artifactId>
<groupId>org.apache.curator</groupId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-test/pom.xml
----------------------------------------------------------------------
diff --git a/curator-test/pom.xml b/curator-test/pom.xml
index d3280d5..9d42ea8 100644
--- a/curator-test/pom.xml
+++ b/curator-test/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>curator-test</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
<name>Curator Testing</name>
<description>Unit testing utilities.</description>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-x-async/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-async/pom.xml b/curator-x-async/pom.xml
index 795c2f7..5fc6569 100644
--- a/curator-x-async/pom.xml
+++ b/curator-x-async/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-x-discovery-server/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-discovery-server/pom.xml b/curator-x-discovery-server/pom.xml
index b9785a1..d4d8b6e 100644
--- a/curator-x-discovery-server/pom.xml
+++ b/curator-x-discovery-server/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>curator-x-discovery-server</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Service Discovery Server</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/curator-x-discovery/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-discovery/pom.xml b/curator-x-discovery/pom.xml
index 9d11183..55909b6 100644
--- a/curator-x-discovery/pom.xml
+++ b/curator-x-discovery/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>curator-x-discovery</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Curator Service Discovery</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/64925a4e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 107dc6f..1f73b54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0</version>
+ <version>4.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Curator</name>
@@ -97,7 +97,7 @@
<connection>scm:git:https://git-wip-us.apache.org/repos/asf/curator.git</connection>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/curator.git
</developerConnection>
- <tag>apache-curator-4.0.0</tag>
+ <tag>apache-curator-3.2.0</tag>
</scm>
<issueManagement>
[6/9] curator git commit: refactor the comment
Posted by ra...@apache.org.
refactor the comment
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/8daddd2b
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/8daddd2b
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/8daddd2b
Branch: refs/heads/master
Commit: 8daddd2b6d382fb2e116f436cae1461841c7ae1a
Parents: b01926d
Author: hebelala <he...@qq.com>
Authored: Wed Aug 16 13:29:54 2017 +0800
Committer: hebelala <he...@qq.com>
Committed: Wed Aug 16 13:29:54 2017 +0800
----------------------------------------------------------------------
.../src/main/java/org/apache/curator/utils/ZKPaths.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/8daddd2b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
----------------------------------------------------------------------
diff --git a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
index 91e65ea..32054b6 100644
--- a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
+++ b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
@@ -317,7 +317,7 @@ public class ZKPaths
try {
children = zookeeper.getChildren(path, null);
} catch (KeeperException.NoNodeException e) {
- // someone else has deleted the node it since we checked
+ // someone else has deleted the node since we checked
return;
}
for ( String child : children )
@@ -339,7 +339,7 @@ public class ZKPaths
}
catch ( KeeperException.NoNodeException e )
{
- // ignore... someone else has deleted the node it since we checked
+ // ignore... someone else has deleted the node since we checked
}
}
}
[2/9] curator git commit: [maven-release-plugin] prepare release
apache-curator-4.0.0
Posted by ra...@apache.org.
[maven-release-plugin] prepare release apache-curator-4.0.0
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/2f1ed8f9
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/2f1ed8f9
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/2f1ed8f9
Branch: refs/heads/master
Commit: 2f1ed8f98ca158efd5cc4db650e759d1f6694638
Parents: e40bda2
Author: randgalt <ra...@apache.org>
Authored: Wed Jul 26 09:07:03 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Wed Jul 26 09:07:03 2017 -0500
----------------------------------------------------------------------
curator-client/pom.xml | 4 ++--
curator-examples/pom.xml | 2 +-
curator-framework/pom.xml | 4 ++--
curator-recipes/pom.xml | 4 ++--
curator-test-zk34/pom.xml | 2 +-
curator-test/pom.xml | 4 ++--
curator-x-async/pom.xml | 2 +-
curator-x-discovery-server/pom.xml | 4 ++--
curator-x-discovery/pom.xml | 4 ++--
pom.xml | 4 ++--
10 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-client/pom.xml
----------------------------------------------------------------------
diff --git a/curator-client/pom.xml b/curator-client/pom.xml
index 4b210da..58c69aa 100644
--- a/curator-client/pom.xml
+++ b/curator-client/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<artifactId>curator-client</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
<packaging>bundle</packaging>
<name>Curator Client</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-examples/pom.xml
----------------------------------------------------------------------
diff --git a/curator-examples/pom.xml b/curator-examples/pom.xml
index c092603..d583d1e 100644
--- a/curator-examples/pom.xml
+++ b/curator-examples/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<artifactId>curator-examples</artifactId>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-framework/pom.xml
----------------------------------------------------------------------
diff --git a/curator-framework/pom.xml b/curator-framework/pom.xml
index 3ae9f54..27acf00 100644
--- a/curator-framework/pom.xml
+++ b/curator-framework/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<artifactId>curator-framework</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
<packaging>bundle</packaging>
<name>Curator Framework</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-recipes/pom.xml
----------------------------------------------------------------------
diff --git a/curator-recipes/pom.xml b/curator-recipes/pom.xml
index b217cf6..d9b4469 100644
--- a/curator-recipes/pom.xml
+++ b/curator-recipes/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<artifactId>curator-recipes</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
<packaging>bundle</packaging>
<name>Curator Recipes</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-test-zk34/pom.xml
----------------------------------------------------------------------
diff --git a/curator-test-zk34/pom.xml b/curator-test-zk34/pom.xml
index 6fb1808..58ca0da 100644
--- a/curator-test-zk34/pom.xml
+++ b/curator-test-zk34/pom.xml
@@ -3,7 +3,7 @@
<parent>
<artifactId>apache-curator</artifactId>
<groupId>org.apache.curator</groupId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-test/pom.xml
----------------------------------------------------------------------
diff --git a/curator-test/pom.xml b/curator-test/pom.xml
index 8f3f1e1..d3280d5 100644
--- a/curator-test/pom.xml
+++ b/curator-test/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<artifactId>curator-test</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
<name>Curator Testing</name>
<description>Unit testing utilities.</description>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-x-async/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-async/pom.xml b/curator-x-async/pom.xml
index ceae835..795c2f7 100644
--- a/curator-x-async/pom.xml
+++ b/curator-x-async/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-x-discovery-server/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-discovery-server/pom.xml b/curator-x-discovery-server/pom.xml
index b77ef41..b9785a1 100644
--- a/curator-x-discovery-server/pom.xml
+++ b/curator-x-discovery-server/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<artifactId>curator-x-discovery-server</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
<packaging>bundle</packaging>
<name>Curator Service Discovery Server</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/curator-x-discovery/pom.xml
----------------------------------------------------------------------
diff --git a/curator-x-discovery/pom.xml b/curator-x-discovery/pom.xml
index f6d89ff..9d11183 100644
--- a/curator-x-discovery/pom.xml
+++ b/curator-x-discovery/pom.xml
@@ -24,11 +24,11 @@
<parent>
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
</parent>
<artifactId>curator-x-discovery</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
<packaging>bundle</packaging>
<name>Curator Service Discovery</name>
http://git-wip-us.apache.org/repos/asf/curator/blob/2f1ed8f9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1e8eb4f..107dc6f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
<groupId>org.apache.curator</groupId>
<artifactId>apache-curator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0</version>
<packaging>pom</packaging>
<name>Apache Curator</name>
@@ -97,7 +97,7 @@
<connection>scm:git:https://git-wip-us.apache.org/repos/asf/curator.git</connection>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/curator.git
</developerConnection>
- <tag>apache-curator-3.2.0</tag>
+ <tag>apache-curator-4.0.0</tag>
</scm>
<issueManagement>
[9/9] curator git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/curator
Posted by ra...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/6ba4de36
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/6ba4de36
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/6ba4de36
Branch: refs/heads/master
Commit: 6ba4de36d4e8b2b65d45c005a6a92dd85c3c497f
Parents: 3d6176c c86ca97
Author: randgalt <ra...@apache.org>
Authored: Sun Sep 24 15:56:05 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Sun Sep 24 15:56:05 2017 -0500
----------------------------------------------------------------------
.../framework/imps/CreateBuilderImpl.java | 20 ++++++-------
.../framework/imps/TestCreateReturningStat.java | 30 ++++++++++++++++++++
2 files changed, 38 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
[8/9] curator git commit: minor formatting
Posted by ra...@apache.org.
minor formatting
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/3d6176ce
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/3d6176ce
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/3d6176ce
Branch: refs/heads/master
Commit: 3d6176ce35d177abec98318b57d7bd023649e9e0
Parents: dccbd7a
Author: randgalt <ra...@apache.org>
Authored: Sun Sep 24 15:55:40 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Sun Sep 24 15:55:40 2017 -0500
----------------------------------------------------------------------
.../java/org/apache/curator/utils/ZKPaths.java | 7 +-
.../framework/imps/TestFrameworkEdges.java | 141 ++++++++++---------
2 files changed, 83 insertions(+), 65 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/3d6176ce/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
----------------------------------------------------------------------
diff --git a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
index 32054b6..9d6ea9d 100644
--- a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
+++ b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
@@ -314,9 +314,12 @@ public class ZKPaths
PathUtils.validatePath(path);
List<String> children;
- try {
+ try
+ {
children = zookeeper.getChildren(path, null);
- } catch (KeeperException.NoNodeException e) {
+ }
+ catch (KeeperException.NoNodeException e)
+ {
// someone else has deleted the node since we checked
return;
}
http://git-wip-us.apache.org/repos/asf/curator/blob/3d6176ce/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
index 71b11e4..9c4afe3 100644
--- a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
+++ b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
@@ -16,6 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
+
package org.apache.curator.framework.imps;
import com.google.common.collect.Queues;
@@ -25,6 +26,7 @@ import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.framework.SafeIsTtlMode;
import org.apache.curator.framework.api.BackgroundCallback;
+import org.apache.curator.framework.api.CreateBuilder;
import org.apache.curator.framework.api.CuratorEvent;
import org.apache.curator.framework.api.CuratorEventType;
import org.apache.curator.framework.api.CuratorListener;
@@ -33,8 +35,8 @@ import org.apache.curator.framework.state.ConnectionStateListener;
import org.apache.curator.retry.RetryNTimes;
import org.apache.curator.retry.RetryOneTime;
import org.apache.curator.test.BaseClassForTests;
-import org.apache.curator.test.compatibility.KillSession2;
import org.apache.curator.test.TestingServer;
+import org.apache.curator.test.compatibility.KillSession2;
import org.apache.curator.test.compatibility.Timing2;
import org.apache.curator.utils.CloseableUtils;
import org.apache.curator.utils.ZKPaths;
@@ -53,7 +55,6 @@ import java.util.concurrent.Semaphore;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
-import org.apache.curator.framework.api.CreateBuilder;
public class TestFrameworkEdges extends BaseClassForTests
{
@@ -179,9 +180,10 @@ public class TestFrameworkEdges extends BaseClassForTests
}
};
final String TEST_PATH = "/a/b/c/test-";
- long ttl = timing.forWaiting().milliseconds()*1000;
+ long ttl = timing.forWaiting().milliseconds() * 1000;
CreateBuilder firstCreateBuilder = client.create();
- if( SafeIsTtlMode.isTtl(mode) ) {
+ if ( SafeIsTtlMode.isTtl(mode) )
+ {
firstCreateBuilder.withTtl(ttl);
}
firstCreateBuilder.withMode(mode).inBackground(callback).forPath(TEST_PATH);
@@ -193,10 +195,11 @@ public class TestFrameworkEdges extends BaseClassForTests
client = CuratorFrameworkFactory.newClient(server.getConnectString(), timing.session(), 1, new RetryOneTime(1));
client.start();
-
+
CreateBuilderImpl createBuilder = (CreateBuilderImpl)client.create();
createBuilder.withProtection();
- if(SafeIsTtlMode.isTtl(mode)) {
+ if ( SafeIsTtlMode.isTtl(mode) )
+ {
createBuilder.withTtl(ttl);
}
@@ -233,16 +236,13 @@ public class TestFrameworkEdges extends BaseClassForTests
client.start();
client.getZookeeperClient().blockUntilConnectedOrTimedOut();
server.close();
- client.getChildren().inBackground
- (
- new BackgroundCallback()
- {
- public void processResult(CuratorFramework client, CuratorEvent event) throws Exception
- {
- latch.countDown();
- }
- }
- ).forPath("/");
+ client.getChildren().inBackground(new BackgroundCallback()
+ {
+ public void processResult(CuratorFramework client, CuratorEvent event) throws Exception
+ {
+ latch.countDown();
+ }
+ }).forPath("/");
Assert.assertTrue(timing.awaitLatch(latch));
}
finally
@@ -408,27 +408,24 @@ public class TestFrameworkEdges extends BaseClassForTests
client.start();
try
{
- client.getCuratorListenable().addListener
- (
- new CuratorListener()
+ client.getCuratorListenable().addListener(new CuratorListener()
+ {
+ @Override
+ public void eventReceived(CuratorFramework client, CuratorEvent event) throws Exception
+ {
+ if ( event.getType() == CuratorEventType.EXISTS )
{
- @Override
- public void eventReceived(CuratorFramework client, CuratorEvent event) throws Exception
- {
- if ( event.getType() == CuratorEventType.EXISTS )
- {
- Stat stat = client.checkExists().forPath("/yo/yo/yo");
- Assert.assertNull(stat);
-
- client.create().inBackground(event.getContext()).forPath("/what");
- }
- else if ( event.getType() == CuratorEventType.CREATE )
- {
- ((CountDownLatch)event.getContext()).countDown();
- }
- }
+ Stat stat = client.checkExists().forPath("/yo/yo/yo");
+ Assert.assertNull(stat);
+
+ client.create().inBackground(event.getContext()).forPath("/what");
}
- );
+ else if ( event.getType() == CuratorEventType.CREATE )
+ {
+ ((CountDownLatch)event.getContext()).countDown();
+ }
+ }
+ });
CountDownLatch latch = new CountDownLatch(1);
client.checkExists().inBackground(latch).forPath("/hey");
@@ -448,20 +445,17 @@ public class TestFrameworkEdges extends BaseClassForTests
try
{
final CountDownLatch latch = new CountDownLatch(1);
- client.getConnectionStateListenable().addListener
- (
- new ConnectionStateListener()
+ client.getConnectionStateListenable().addListener(new ConnectionStateListener()
+ {
+ @Override
+ public void stateChanged(CuratorFramework client, ConnectionState newState)
+ {
+ if ( newState == ConnectionState.LOST )
{
- @Override
- public void stateChanged(CuratorFramework client, ConnectionState newState)
- {
- if ( newState == ConnectionState.LOST )
- {
- latch.countDown();
- }
- }
+ latch.countDown();
}
- );
+ }
+ });
client.checkExists().forPath("/hey");
client.checkExists().inBackground().forPath("/hey");
@@ -614,45 +608,64 @@ public class TestFrameworkEdges extends BaseClassForTests
}
@Test
- public void testDeleteChildrenConcurrently() throws Exception {
+ public void testDeleteChildrenConcurrently() throws Exception
+ {
final CuratorFramework client = CuratorFrameworkFactory.newClient(server.getConnectString(), new RetryOneTime(1));
CuratorFramework client2 = CuratorFrameworkFactory.newClient(server.getConnectString(), new RetryOneTime(1));
- try {
+ try
+ {
client.start();
client.getZookeeperClient().blockUntilConnectedOrTimedOut();
client2.start();
client2.getZookeeperClient().blockUntilConnectedOrTimedOut();
int childCount = 5000;
- for (int i = 0; i < childCount; i++) {
+ for ( int i = 0; i < childCount; i++ )
+ {
client.create().creatingParentsIfNeeded().forPath("/parent/child" + i);
}
final CountDownLatch countDownLatch = new CountDownLatch(1);
- new Thread(new Runnable() {
+ new Thread(new Runnable()
+ {
@Override
- public void run() {
- try {
+ public void run()
+ {
+ try
+ {
client.delete().deletingChildrenIfNeeded().forPath("/parent");
- } catch (Exception e) {
- if (e instanceof KeeperException.NoNodeException) {
+ }
+ catch ( Exception e )
+ {
+ if ( e instanceof KeeperException.NoNodeException )
+ {
Assert.fail("client delete failed, shouldn't throw NoNodeException", e);
- } else {
+ }
+ else
+ {
Assert.fail("unknown exception", e);
}
- } finally {
+ }
+ finally
+ {
countDownLatch.countDown();
}
}
}).start();
Thread.sleep(20L);
- try {
- client2.delete().forPath("/parent/child" + (childCount/2));
- } catch (Exception e) {
- if (e instanceof KeeperException.NoNodeException) {
+ try
+ {
+ client2.delete().forPath("/parent/child" + (childCount / 2));
+ }
+ catch ( Exception e )
+ {
+ if ( e instanceof KeeperException.NoNodeException )
+ {
Assert.fail("client2 delete failed, shouldn't throw NoNodeException", e);
- } else {
+ }
+ else
+ {
Assert.fail("unknown exception", e);
}
}
@@ -660,7 +673,9 @@ public class TestFrameworkEdges extends BaseClassForTests
Assert.assertTrue(countDownLatch.await(10, TimeUnit.SECONDS));
Assert.assertNull(client2.checkExists().forPath("/parent"));
- } finally {
+ }
+ finally
+ {
CloseableUtils.closeQuietly(client);
CloseableUtils.closeQuietly(client2);
}
[4/9] curator git commit: Fix,
maybe cannot deleteChildren completely when multi-client delete
concurrently
Posted by ra...@apache.org.
Fix, maybe cannot deleteChildren completely when multi-client delete concurrently
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/ca1e9fbb
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/ca1e9fbb
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/ca1e9fbb
Branch: refs/heads/master
Commit: ca1e9fbbb28a9deaa7f6187f321fd446f471db6d
Parents: 15eb063
Author: hebelala <he...@qq.com>
Authored: Fri Aug 11 18:39:21 2017 +0800
Committer: hebelala <he...@qq.com>
Committed: Fri Aug 11 18:39:21 2017 +0800
----------------------------------------------------------------------
.../src/main/java/org/apache/curator/utils/ZKPaths.java | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/ca1e9fbb/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
----------------------------------------------------------------------
diff --git a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
index 17fa913..91e65ea 100644
--- a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
+++ b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
@@ -313,7 +313,13 @@ public class ZKPaths
{
PathUtils.validatePath(path);
- List<String> children = zookeeper.getChildren(path, null);
+ List<String> children;
+ try {
+ children = zookeeper.getChildren(path, null);
+ } catch (KeeperException.NoNodeException e) {
+ // someone else has deleted the node it since we checked
+ return;
+ }
for ( String child : children )
{
String fullPath = makePath(path, child);
[5/9] curator git commit: add testcase testDeleteChildrenConcurrently
Posted by ra...@apache.org.
add testcase testDeleteChildrenConcurrently
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/b01926d1
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/b01926d1
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/b01926d1
Branch: refs/heads/master
Commit: b01926d1be18775fa6d3255038e9267a32325479
Parents: ca1e9fb
Author: hebelala <he...@qq.com>
Authored: Wed Aug 16 01:40:22 2017 +0800
Committer: hebelala <he...@qq.com>
Committed: Wed Aug 16 01:40:22 2017 +0800
----------------------------------------------------------------------
.../framework/imps/TestFrameworkEdges.java | 53 ++++++++++++++++++++
1 file changed, 53 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/b01926d1/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
index db5210d..71b11e4 100644
--- a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
+++ b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFrameworkEdges.java
@@ -612,4 +612,57 @@ public class TestFrameworkEdges extends BaseClassForTests
// correct
}
}
+
+ @Test
+ public void testDeleteChildrenConcurrently() throws Exception {
+ final CuratorFramework client = CuratorFrameworkFactory.newClient(server.getConnectString(), new RetryOneTime(1));
+ CuratorFramework client2 = CuratorFrameworkFactory.newClient(server.getConnectString(), new RetryOneTime(1));
+ try {
+ client.start();
+ client.getZookeeperClient().blockUntilConnectedOrTimedOut();
+ client2.start();
+ client2.getZookeeperClient().blockUntilConnectedOrTimedOut();
+
+ int childCount = 5000;
+ for (int i = 0; i < childCount; i++) {
+ client.create().creatingParentsIfNeeded().forPath("/parent/child" + i);
+ }
+
+ final CountDownLatch countDownLatch = new CountDownLatch(1);
+ new Thread(new Runnable() {
+ @Override
+ public void run() {
+ try {
+ client.delete().deletingChildrenIfNeeded().forPath("/parent");
+ } catch (Exception e) {
+ if (e instanceof KeeperException.NoNodeException) {
+ Assert.fail("client delete failed, shouldn't throw NoNodeException", e);
+ } else {
+ Assert.fail("unknown exception", e);
+ }
+ } finally {
+ countDownLatch.countDown();
+ }
+ }
+ }).start();
+
+ Thread.sleep(20L);
+ try {
+ client2.delete().forPath("/parent/child" + (childCount/2));
+ } catch (Exception e) {
+ if (e instanceof KeeperException.NoNodeException) {
+ Assert.fail("client2 delete failed, shouldn't throw NoNodeException", e);
+ } else {
+ Assert.fail("unknown exception", e);
+ }
+ }
+
+ Assert.assertTrue(countDownLatch.await(10, TimeUnit.SECONDS));
+
+ Assert.assertNull(client2.checkExists().forPath("/parent"));
+ } finally {
+ CloseableUtils.closeQuietly(client);
+ CloseableUtils.closeQuietly(client2);
+ }
+ }
}
[7/9] curator git commit: Merge branch 'CURATOR-430' of
github.com:hebelala/curator into CURATOR-430
Posted by ra...@apache.org.
Merge branch 'CURATOR-430' of github.com:hebelala/curator into CURATOR-430
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/dccbd7ac
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/dccbd7ac
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/dccbd7ac
Branch: refs/heads/master
Commit: dccbd7ac3838a5123441ab41ee6a28212876286d
Parents: 64925a4 8daddd2
Author: randgalt <ra...@apache.org>
Authored: Sun Sep 24 15:52:45 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Sun Sep 24 15:52:45 2017 -0500
----------------------------------------------------------------------
.../java/org/apache/curator/utils/ZKPaths.java | 10 +++-
.../framework/imps/TestFrameworkEdges.java | 53 ++++++++++++++++++++
2 files changed, 61 insertions(+), 2 deletions(-)
----------------------------------------------------------------------