Details
Description
I downloaded ZK 3.4.3 sources and ran ant test. Many of the tests failed, including ZooKeeperTest. A common symptom was spurious ConnectionLossException:
2012-06-01 12:01:23,420 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@54] - TEST METHOD FAILED testDeleteRecursiveAsync
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1246)
at org.apache.zookeeper.ZooKeeperTest.testDeleteRecursiveAsync(ZooKeeperTest.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... (snipped)
As background, I was actually investigating some non-deterministic failures when using Netflix's Curator with Java 7 (see https://github.com/Netflix/curator/issues/79). After a while, I figured I should establish a clean ZK baseline first and realized it is actually a ZK issue, not a Curator issue.
We are trying to migrate to Java 7 but this is a blocking issue for us right now.
Attachments
Attachments
Issue Links
- is related to
-
GIRAPH-344 mvn test fails with java 1.7
- Resolved
- relates to
-
ZOOKEEPER-1550 ZooKeeperSaslClient does not finish anonymous login on OpenJDK
- Resolved