Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

apache nifi error

apache nifi error

New Contributor

WARN [Timer-Driven Process Thread-5] o.a.nifi.processors.standard.TailFile TailFile[id=d9905c06-016d-1000-0000-00007f2bf97e] Unable to open file /cygdrive/Windows/System32/LogFiles/Firewall/pfirewall.log; will attempt to access file again after the configured Yield Duration has elapsed: java.nio.file.NoSuchFileException: /cygdrive/Windows/System32/LogFiles/Firewall/pfirewall.log: {} java.nio.file.NoSuchFileException: /cygdrive/Windows/System32/LogFiles/Firewall/pfirewall.log at sun.nio.fs.UnixException.translateToIOException( at sun.nio.fs.UnixException.rethrowAsIOException( at sun.nio.fs.UnixException.rethrowAsIOException( at sun.nio.fs.UnixFileSystemProvider.newFileChannel( at at at org.apache.nifi.processors.standard.TailFile.createReader( at org.apache.nifi.processors.standard.TailFile.processTailFile( at org.apache.nifi.processors.standard.TailFile.onTrigger( at org.apache.nifi.processor.AbstractProcessor.onTrigger( at org.apache.nifi.controller.StandardProcessorNode.onTrigger( at at at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$ at java.util.concurrent.Executors$ at java.util.concurrent.FutureTask.runAndReset( at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301( at java.util.concurrent.ScheduledThreadPoolExecutor$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at 2019-10-17 23:42:04,862 DEBUG [Timer-Driven Process Thread-5] o.a.nifi.processors.standard.TailFile TailFile[id=d9905c06-016d-1000-0000-00007f2bf97e] has chosen to yield its resources; will not be scheduled to run again for 1000 milliseconds


Re: apache nifi error

Master Guru



This error is telling you that the user running the NiFi process is unable to see that file.

If the file really does exist at "/cygdrive/Windows/System32/LogFiles/Firewall/pfirewall.log", then the issue is more likely permissions on one of the directories in that path preventing the NiFi java process user from being able traverse that directory tree to the log file. 


If the NiFi Java process user was able to traverse that entire directory tree, we would expect a different error related to permissions on the log file.


Hope this helps,




Don't have an account?
Coming from Hortonworks? Activate your account here