Ke Wu created SAMZA-2486:
----------------------------

             Summary: TestFileReaderSystemAdmin & TestFileReaderSystemConsumer 
are modifying the same test files
                 Key: SAMZA-2486
                 URL: https://issues.apache.org/jira/browse/SAMZA-2486
             Project: Samza
          Issue Type: Bug
            Reporter: Ke Wu


TestFileReaderSystemConsumer & TestFileReaderSystemAdmin are both creating and 
deleting the same set of resource files, which sometimes result in tests 
failures when running in parallel:

 
{code:java}
Caused by: java.io.FileNotFoundException: noEnter.txt (No such file or 
directory)
        at java.io.RandomAccessFile.open0(Native Method)
        at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:124)
        at 
org.apache.samza.system.filereader.FileReaderSystemConsumer$$anon$1.run(FileReaderSystemConsumer.scala:113)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        ... 2 more{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to