I am getting this error with the FetchFile or GetFile processors
2018-05-16 12:04:15,133 WARN [Timer-Driven Process Thread-7] o.a.n.controller.tasks.ConnectableTask Administratively Yielding ListFile[id=6804e073-0163-1000-56d7-1d884aef90a1] due to uncaught Exception: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /mnt/win/ArchivesCD/08103DOC.CFL/P1-Especifica????es.pdf java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /mnt/win/ArchivesCD/08103DOC.CFL/P1-Especifica????es.pdf
How can i resolve this? And does the processor abandon the entire process or skip the "malformed" file?
My nifi version is 1.6.0
Can you please check if NiFi JVM is using UTF-8 encoding, otherwise here are a couple of approaches
1. export JAVA_TOOL_OPTIONS=-Dfile.encoding=utf8
2. Add encoding parameters to bootstrap.conf "java.arg.8=-Dfile.encoding=UTF8"
Please restart NiFi after update and test to see if FetchFile/GetFile processors are working
You shouldn't lose FlowFiles which are in queues as the attributes themselves are stored in FlowFile repository and content in content repository. What you see in the queue is just a reference which will be restored after the restart.
You can find additional information in below link