Re: Writing back through a python stream callback when the flowfile content is a mix of character and binary

2017-02-03 Thread Matt Burgess
James, I haven't had a chance to dig into this yet, but one thing I noticed about your script was an issue identified by Bryan Rosander (NiFi committer and all-around good guy :) as the probable cause of the TypeError, namely the calling of bytearray() after encode() (the latter of which already

Re: Validating an array of objects using ConvertJSONToAvro

2017-02-03 Thread Matt Burgess
Bas, Sorry for the late reply, I should've mentioned sooner that I am looking into this issue. From your description it seems like ConvertJSONtoAvro should be able to handle this kind of thing; if I can't find a schema that fits and instead confirm it is a bug/improvement, I will write up a Jira

Re: Nifi service stopped with no 'stop' request?

2017-02-03 Thread Joe Witt
Cheryl - in addition to the ask from James can you take a look for anything interesting in the nifi-app.log about ERROR/WARN. Thanks On Fri, Feb 3, 2017 at 12:31 PM, James Wing wrote: > Cheryl, > > I'm not aware of any good explanation for that, or open issues on this > topic.

Re: Nifi service stopped with no 'stop' request?

2017-02-03 Thread James Wing
Cheryl, I'm not aware of any good explanation for that, or open issues on this topic. Can you share more detail on the OS, JVM, NiFi versions? Thanks, James On Thu, Feb 2, 2017 at 12:14 PM, Cheryl Jennings wrote: > Hi Everyone, > > I had nifi running overnight,

Re: How to send the success status to GetFile processor?

2017-02-03 Thread Oleg Zhurakousky
Prabhu I must be missing something. Why do you need to know the fie name in advance? What I mean is you will know it eventually as soon as GetFile will pick it up from the pre-configured directory and it’s going to be one of the attributes ‘filename’ among many other attributes that should