[jira] [Commented] (ZOOKEEPER-1477) Test failures with Java 7 on Mac OS X

2012-06-29 Thread Ron Pressler (JIRA)

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

Ron Pressler commented on ZOOKEEPER-1477:
-

Running the server in Java 6 and the client in Java 7 seems to work fine.

> Test failures with Java 7 on Mac OS X
> -
>
> Key: ZOOKEEPER-1477
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1477
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server, tests
>Affects Versions: 3.4.3
> Environment: Mac OS X Lion (10.7.4)
> Java version:
> java version "1.7.0_04"
> Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
>Reporter: Diwaker Gupta
>Priority: Critical
>
> I downloaded ZK 3.4.3 sources and ran {{ant test}}. Many of the tests failed, 
> including ZooKeeperTest. A common symptom was spurious 
> {{ConnectionLossException}}:
> {code}
> 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)
> {code}
> 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.

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




[jira] [Commented] (ZOOKEEPER-1477) Test failures with Java 7 on Mac OS X

2012-06-29 Thread Ron Pressler (JIRA)

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

Ron Pressler commented on ZOOKEEPER-1477:
-

Forgot to add - also a Macbook Pro.

> Test failures with Java 7 on Mac OS X
> -
>
> Key: ZOOKEEPER-1477
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1477
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server, tests
>Affects Versions: 3.4.3
> Environment: Mac OS X Lion (10.7.4)
> Java version:
> java version "1.7.0_04"
> Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
>Reporter: Diwaker Gupta
>Priority: Critical
>
> I downloaded ZK 3.4.3 sources and ran {{ant test}}. Many of the tests failed, 
> including ZooKeeperTest. A common symptom was spurious 
> {{ConnectionLossException}}:
> {code}
> 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)
> {code}
> 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.

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




[jira] [Commented] (ZOOKEEPER-1477) Test failures with Java 7 on Mac OS X

2012-06-29 Thread Ron Pressler (JIRA)

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

Ron Pressler commented on ZOOKEEPER-1477:
-

I'm seeing the same problem with OS X and JDK 7. 

> Test failures with Java 7 on Mac OS X
> -
>
> Key: ZOOKEEPER-1477
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1477
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server, tests
>Affects Versions: 3.4.3
> Environment: Mac OS X Lion (10.7.4)
> Java version:
> java version "1.7.0_04"
> Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
>Reporter: Diwaker Gupta
>Priority: Critical
>
> I downloaded ZK 3.4.3 sources and ran {{ant test}}. Many of the tests failed, 
> including ZooKeeperTest. A common symptom was spurious 
> {{ConnectionLossException}}:
> {code}
> 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)
> {code}
> 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.

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