[
https://issues.apache.org/jira/browse/ZOOKEEPER-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858767#action_12858767
]
Patrick Hunt commented on ZOOKEEPER-690:
----------------------------------------
The following snippets are from
TEST-org.apache.zookeeper.test.AsyncHammerTest.txt
Looks like there's a problem with the address already being in use. Maybe you
can
try editing src/java/test/org/apache/zookeeper/PortAssignment.java and see if
that helps?
2010-04-19 14:31:55,010 - INFO [main:quorumb...@88] - Ports are:
127.0.0.1:11222,127.0.0.1:11223,127.0.0.1:11224,127.0.0.1:11225,127.0.0.1:11226
2010-04-19 14:31:55,015 - INFO [main:quorumb...@145] - creating QuorumPeer 1
port 11222
2010-04-19 14:31:55,062 - INFO [main:nioservercnxn$fact...@144] - binding to
port 0.0.0.0/0.0.0.0:11222
2010-04-19 14:31:55,063 - INFO [main:asynchammert...@68] - Test clients
shutting down
2010-04-19 14:31:55,064 - INFO [main:quorumb...@254] - TearDown started
Testcase: testHammer took 0.443 sec
Caused an ERROR
Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at
org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:145)
at
org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:126)
at
org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:450)
at
org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:146)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:96)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:60)
at
org.apache.zookeeper.test.AsyncHammerTest.setUp(AsyncHammerTest.java:54)
Caused an ERROR
> AsyncTestHammer test fails on hudson.
> -------------------------------------
>
> Key: ZOOKEEPER-690
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-690
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Mahadev konar
> Assignee: Patrick Hunt
> Priority: Critical
> Fix For: 3.3.1
>
> Attachments: TEST-org.apache.zookeeper.test.AsyncHammerTest.txt,
> zoo.log
>
>
> the hudson test failed on
> http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h1.grid.sp2.yahoo.net/2/testReport/.
> There are huge set of cancelledkeyexceptions in the logs. Still going
> through the logs to find out the reason for failure.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.