On Fri, Nov 16, 2012 at 9:01 PM, David Medinets <[email protected]> wrote: > I just pulled the trunk and ran "mvn install -P assemble". I ran into > the following error.
Dave can you help me debug this? Modify accumulo/trunk/test/src/test/java/org/apache/accumulo/test/MiniAccumuloClusterTest.java Make it print out the temporary folder so you can where data is being put in the filesystem. The setupMiniCluster() method creates the temp folder. It should create something like /tmp/junit<some #>. Also increase the @Test(timeout = ) to something big, after the test times out it deletes the logs. Then run the test and when it gets stuck take a look at the logs in /tmp/junit<some #>/logs. Hopefully the logs will show us what is wrong with the servers. You can send the logs directly to me. > > Running org.apache.accumulo.test.MiniAccumuloClusterTest > 12/11/17 01:54:27 WARN impl.ServerClient: There are no tablet servers: > check that zookeeper and accumulo are running. > java.io.IOException: Stream Closed > 12/11/17 02:00:27 WARN impl.ServerClient: Failed to find an available > server in the list of servers: [50.116.59.74:45797:9997 (120000)] > at java.io.FileInputStream.readBytes(Native Method) > at java.io.FileInputStream.read(FileInputStream.java:236) > at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282) > at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324) > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176) > at java.io.InputStreamReader.read(InputStreamReader.java:184) > at java.io.BufferedReader.fill(BufferedReader.java:153) > at java.io.BufferedReader.readLine(BufferedReader.java:316) > at java.io.BufferedReader.readLine(BufferedReader.java:379) > at > org.apache.accumulo.test.MiniAccumuloCluster$LogWriter.run(MiniAccumuloCluster.java:90) > java.io.IOException: Stream Closed > at java.io.FileInputStream.readBytes(Native Method) > at java.io.FileInputStream.read(FileInputStream.java:236) > at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282) > at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324) > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176) > at java.io.InputStreamReader.read(InputStreamReader.java:184) > at java.io.BufferedReader.fill(BufferedReader.java:153) > at java.io.BufferedReader.readLine(BufferedReader.java:316) > at java.io.BufferedReader.readLine(BufferedReader.java:379) > at > org.apache.accumulo.test.MiniAccumuloCluster$LogWriter.run(MiniAccumuloCluster.java:90) > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 46.251 > sec <<< FAILURE! > 12/11/17 02:00:28 ERROR util.UtilWaitThread: sleep interrupted > java.lang.InterruptedException: sleep interrupted > at java.lang.Thread.sleep(Native Method) > at > org.apache.accumulo.core.util.UtilWaitThread.sleep(UtilWaitThread.java:26) > at > org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:111) > at > org.apache.accumulo.core.client.admin.SecurityOperationsImpl.execute(SecurityOperationsImpl.java:49) > at > org.apache.accumulo.core.client.admin.SecurityOperationsImpl.createUser(SecurityOperationsImpl.java:111) > at > org.apache.accumulo.test.MiniAccumuloClusterTest.test(MiniAccumuloClusterTest.java:68) > 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:616) > 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: > test(org.apache.accumulo.test.MiniAccumuloClusterTest): test timed > out after 30000 milliseconds
