You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Mohit Jain <mo...@open-insights.com> on 2020/10/06 03:12:20 UTC

NiFi 1.9.0: ListFile throws NoSuchFileException

Hi Team,

I'm getting the following error in the LisFile Processor:
ListFile[id=4ebbbe93-5e16-31d1-8793-63c704d4eae0]
ListFile[id=4ebbbe93-5e16-31d1-8793-63c704d4eae0] failed to process session
due to java.nio.file.NoSuchFileException: /data/test/testfile.CTL; \
Processor Administratively Yielded for 1 sec: java.io.UncheckedIOException:
java.nio.file.NoSuchFileException: /data/test/testfile.CTL

There are following operations done in the flow:
1. List the file from the folder(other flows also reading from the same
folder).
2. Fetch the file using the FetchFile, move the file from the source folder
to the processed folder.
3. Go ahead with the flow.

It's a 3 Node NiFi 1.9.0 cluster, and the flow is reading from the NFS
mount. ListFile is scheduled to run on the primary node.

Any help would be appreciated.

Thanks,
Mohit