samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Blasi Uribarri <jbl...@nextel.es>
Subject testThreadInterruptInOperationSleep on clean installation
Date Mon, 03 Aug 2015 06:45:08 GMT
Hi,

I am trying to do a clean installation of Samza on a newly installed Debian 7.8 box. Following
the stpes I collected in a previous 0.8.2 Samza installation I have performed the following
steps:

apt-get install openjdk-7-jdk openjdk-7-jre git maven curl
vi /root/.bashrc
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export CLASSPATH=$CLASSPATH:/usr/share/java

cd /opt
git clone http://git-wip-us.apache.org/repos/asf/samza.git
cd samza
./gradlew clean build


Every time I run it I get an error on the test the script runs:
testThreadInterruptInOperationSleep
va.lang.AssertionError: expected:<1> but was:<0>
       at org.junit.Assert.fail(Assert.java:91)
       at org.junit.Assert.failNotEquals(Assert.java:645)
       at org.junit.Assert.assertEquals(Assert.java:126)
       at org.junit.Assert.assertEquals(Assert.java:470)
       at org.junit.Assert.assertEquals(Assert.java:454)
       at org.apache.samza.util.TestExponentialSleepStrategy.testThreadInterruptInOperationSleep(TestExponentialSleepStrategy.scala:158)
       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:606)
       at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
       at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
       at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
       at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
       at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
       at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
       at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
       at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
       at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
       at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
       at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
       at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:69)
       at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:48)
       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:606)
       at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
       at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
       at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
       at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
       at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
       at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:105)
       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:606)
       at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
       at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
       at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:355)
       at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at java.lang.Thread.run(Thread.java:745)

I am also seeing on the report the following errors:


Exception in thread "SAMZA-filereader-" java.lang.Error: java.io.FileNotFoundException: empty.txt
(No existe el fichero o el directorio)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1151)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.FileNotFoundException: empty.txt (No existe el fichero o el directorio)

       at java.io.RandomAccessFile.open(Native Method)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)

       at org.apache.samza.system.filereader.FileReaderSystemConsumer$$anon$1.run(FileReaderSystemConsumer.scala:121)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       ... 2 more

Exception in thread "SAMZA-filereader-" java.lang.Error: java.io.FileNotFoundException: twoEnter.txt
(No existe el fichero o el directorio)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1151)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.FileNotFoundException: twoEnter.txt (No existe el fichero o el directorio)

       at java.io.RandomAccessFile.open(Native Method)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)

       at org.apache.samza.system.filereader.FileReaderSystemConsumer$$anon$1.run(FileReaderSystemConsumer.scala:121)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       ... 2 more

Exception in thread "SAMZA-filereader-" java.lang.Error: java.io.FileNotFoundException: noEnter.txt
(No existe el fichero o el directorio)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1151)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.FileNotFoundException: noEnter.txt (No existe el fichero o el directorio)

       at java.io.RandomAccessFile.open(Native Method)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)

       at org.apache.samza.system.filereader.FileReaderSystemConsumer$$anon$1.run(FileReaderSystemConsumer.scala:121)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       ... 2 more

Exception in thread "SAMZA-filereader-" java.lang.Error: java.io.FileNotFoundException: moreEnter.txt
(No existe el fichero o el directorio)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1151)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.FileNotFoundException: moreEnter.txt (No existe el fichero o el directorio)

       at java.io.RandomAccessFile.open(Native Method)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)

       at org.apache.samza.system.filereader.FileReaderSystemConsumer$$anon$1.run(FileReaderSystemConsumer.scala:121)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       ... 2 more

Exception in thread "SAMZA-filereader-" java.lang.Error: java.io.FileNotFoundException: oneEnter.txt
(No existe el fichero o el directorio)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1151)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

       at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.FileNotFoundException: oneEnter.txt (No existe el fichero o el directorio)

       at java.io.RandomAccessFile.open(Native Method)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)

       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)

       at org.apache.samza.system.filereader.FileReaderSystemConsumer$$anon$1.run(FileReaderSystemConsumer.scala:121)

       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

       ... 2 more

What I am missing? Thanks in advance.

Bye

                Jordi
________________________________
Jordi Blasi Uribarri
Área I+D+i

jblasi@nextel.es
Oficina Bilbao

[http://www.nextel.es/wp-content/uploads/Firma_Nextel_2015.png]
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message