You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Bharath Kumarasubramanian (Jira)" <ji...@apache.org> on 2020/05/27 03:35:00 UTC

[jira] [Resolved] (SAMZA-2486) TestFileReaderSystemAdmin & TestFileReaderSystemConsumer are modifying the same test files

     [ https://issues.apache.org/jira/browse/SAMZA-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bharath Kumarasubramanian resolved SAMZA-2486.
----------------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)