Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> MiniAccumuloClusterTest timeout


Copy link to this message
-
MiniAccumuloClusterTest timeout
Hi guys,

I am having an issue with the MiniAccumuloclusterTest, namely it timeouts.
This is with a fresh 1.5 checkout.The goal is to build my own continuous
integration environment with Jenkins and run changes / tests before
submitting a patch. I have turned Jenkins off and just ran mvn compile
test.  Any ideas? Not enough memory?
*
*
-Miguel *

*
*Memory:*
[blue@off-09732 1.5]$ free -t -m
             total       used       free     shared    buffers     cached
Mem:          2868       1788       1079          0        127        674
-/+ buffers/cache:        986       1882
Swap:         3007         15       2992
Total:        5876       1804       4072

*Error output:
*-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.accumulo.minicluster.MiniAccumuloClusterTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 93.111 sec
<<< FAILURE!
testPerTableClasspath(org.apache.accumulo.minicluster.MiniAccumuloClusterTest)
Time elapsed: 60.031 sec  <<< ERROR!
java.lang.Exception: test timed out after 60000 milliseconds
    at sun.nio.ch.Net.connect0(Native Method)
    at sun.nio.ch.Net.connect(Net.java:364)
    at sun.nio.ch.Net.connect(Net.java:356)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623)
    at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:96)
    at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:80)
    at
org.apache.accumulo.core.util.TTimeoutTransport.create(TTimeoutTransport.java:48)
    at
org.apache.accumulo.core.client.impl.ThriftTransportPool.createNewTransport(ThriftTransportPool.java:473)
    at
org.apache.accumulo.core.client.impl.ThriftTransportPool.getAnyTransport(ThriftTransportPool.java:429)
    at
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:152)
    at
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:128)
    at
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:123)
    at
org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:105)
    at
org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:71)
    at
org.apache.accumulo.core.client.impl.ConnectorImpl.<init>(ConnectorImpl.java:64)
    at
org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:227)
    at
org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:222)
    at
org.apache.accumulo.minicluster.MiniAccumuloClusterTest.testPerTableClasspath(MiniAccumuloClusterTest.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

test(org.apache.accumulo.minicluster.MiniAccumuloClusterTest)  Time
elapsed: 30.007 sec  <<< ERROR!
java.lang.Exception: test timed out after 30000 milliseconds
    at sun.nio.ch.Net.connect0(Native Method)
    at sun.nio.ch.Net.connect(Net.java:364)
    at sun.nio.ch.Net.connect(Net.java:356)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623)
    at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:96)
    at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:80)
    at
org.apache.accumulo.core.util.TTimeoutTransport.create(TTimeoutTransport.java:48)
    at
org.apache.accumulo.core.client.impl.ThriftTransportPool.createNewTransport(ThriftTransportPool.java:473)
    at
org.apache.accumulo.core.client.impl.ThriftTransportPool.getAnyTransport(ThriftTransportPool.java:429)
    at
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:152)
    at
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:128)
    at
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:123)
    at
org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:105)
    at
org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:71)
    at
org.apache.accumulo.core.client.impl.ConnectorImpl.<init>(ConnectorImpl.java:64)
    at
org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:227)
    at
org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:222)
    at
org.apache.accumulo.minicluster.MiniAccumuloClusterTest.test(MiniAccumuloClusterTest.java:70)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
Results :

Tests in error:

testPerTableClasspath(org.apache.accumulo.minicluster.MiniAccumuloClusterTest):
test timed out after 60000 milliseconds
  test(org.apache.accumulo.m