accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Medinets (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3269) nondeterministic failure of MiniAccumuloClusterStartStopTest
Date Sat, 15 Nov 2014 02:08:33 GMT

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

David Medinets commented on ACCUMULO-3269:
------------------------------------------

I created a Docker image to compile Accumulo and within that image this issue happened. It's
happened both times I tried to package Accumulo so the issue might now be deterministic. I
don't have time or skills to investigate this further but my Docker environment is available
at https://github.com/medined/docker-accumulo-build.

The log file had these messages. I started the Docker image anew for each package command.
The same log messages appeared except tha the socket address was different each time.

Listening for transport dt_socket at address: 1532
2014-11-15 01:43:57,933 [server.ZooKeeperServerMain] ERROR: Unexpected exception, exiting
abnormally
java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:436)
	at sun.nio.ch.Net.bind(Net.java:428)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
	at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95)
	at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:111)
	at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86)
	at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.apache.accumulo.start.Main$1.run(Main.java:163)
	at java.lang.Thread.run(Thread.java:745)


> nondeterministic failure of MiniAccumuloClusterStartStopTest
> ------------------------------------------------------------
>
>                 Key: ACCUMULO-3269
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3269
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Adam Fuchs
>             Fix For: 1.7.0
>
>
> When building in master (mvn package -P assemble) I got the following error. Ran the
build again (also mvn package -P assemble, with no clean inbetween) and the whole build succeeded.
> {code}
> Running org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.103 sec <<<
FAILURE! - in org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest
> multipleStopsIsAllowed(org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest)
 Time elapsed: 20.016 sec  <<< ERROR!
> org.apache.accumulo.minicluster.impl.ZooKeeperBindException: Zookeeper did not start
within 20 seconds. Check the logs in /tmp/junit1360063600921880650/logs for errors.  Last
exception: java.net.ConnectException: Connection refused
> 	at org.apache.accumulo.minicluster.impl.MiniAccumuloClusterImpl.start(MiniAccumuloClusterImpl.java:548)
> 	at org.apache.accumulo.minicluster.MiniAccumuloCluster.start(MiniAccumuloCluster.java:72)
> 	at org.apache.accumulo.minicluster.MiniAccumuloClusterStartStopTest.multipleStopsIsAllowed(MiniAccumuloClusterStartStopTest.java:57)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message