Thank you Joe. While I'm unable to export and share the nifi-app.log file, I can tell you that the processor is throwing the error "...failed to process due to java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /dir/path/????/????_?????.jpg "
On Wed, Dec 14, 2016 at 10:49 AM, Joe Witt <[email protected]> wrote: > James, > > Can you please share the full log entry for that failure. It is > possible the processor is not catching the exception properly and > routing the data to failure. It might simply be letting the exception > loose thus the framework detects the issue and rollsback the session > and yields the processor. > > Likely an easy thing to fix in the processor but please do share the > full nifi-app.log entry for this. > > Thanks > Joe > > On Wed, Dec 14, 2016 at 10:47 AM, James McMahon <[email protected]> > wrote: > > Hello. Am wondering if anyone knows how to overcome a challenge with > > unmappable file characters? I have used a GetFile processor to bring a > large > > number of zip files into a NiFi flow. All read in successfully. I try to > > then use an UnpackContent processor to unzip the files to their > individual > > file members. Most work just fine. However there appears to be a file > that > > throws this error in UnpackContent: > > > > failed to process session due to java.nio.file.InvalidPathException: > > Malformed input or input contains unmappable characters > > > > My processing stalls. Nothing else flows. What is the proper way to > > configure the UnpackContent processor step so that it shuttle such files > off > > to the side when it encounters them, and permits the other files waiting > in > > queue to process? I do now have a "failure" path established for my > > UnpackContent processor, but for some reason it does not send these > problem > > files down that path. I suspect it may be because the zip files does > unpack > > successfully but the underlying file(s) within the zip cause processing > to > > choke. > > > > How can I engineer a flow to overcome this challenge? Thanks in advance > for > > your help. >
