Re: File causes unexpected stoppage in play

2016-12-14 Thread Oleg Zhurakousky
James This article should help you get started https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions especially since you only have to go through the first part only “Maven Processor Archetype” (I am assuming you are familiar with maven). Also, make sure that you pick

Re: File causes unexpected stoppage in play

2016-12-14 Thread James McMahon
I've never tried to create and deploy my own custom bundle but would like to try #3 as you recommend Oleg. If you can offer guidance to that process let me try that. Thank you. -Jim On Wed, Dec 14, 2016 at 2:57 PM, Oleg Zhurakousky < ozhurakou...@hortonworks.com> wrote: > James > > Not sure what

Re: File causes unexpected stoppage in play

2016-12-14 Thread Oleg Zhurakousky
James Not sure what kind of liberties you have with your environment, but here is what you can do outside of full upgrade. 1. You can download and drop the bundle (NAR) from NiFi 0.7 release into 0.6 release. That should work (just replace it in the ‘lib’ directory of NiFi home). However,

Re: File causes unexpected stoppage in play

2016-12-14 Thread James McMahon
Oleg, I am bound to NiFi 0.6.1 by enterprise application dependencies. So this fix will not be in my baseline if I understand you correctly. Let me ask you this: is there any way I can build this into my code baseline - either through a code mod and rebuild or as a custom plugin feature specific

Re: File causes unexpected stoppage in play

2016-12-14 Thread James McMahon
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

Re: File causes unexpected stoppage in play

2016-12-14 Thread Oleg Zhurakousky
James Could you also let us know what version of NiFi you are using? The issue with properly handling InvalidPathException was fixed in NiFi 0.7.0 as part of https://issues.apache.org/jira/browse/NIFI-920 It essentially has this catch block: } catch (final ProcessException |

Re: File causes unexpected stoppage in play

2016-12-14 Thread Joe Witt
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