Re: ExecuteScript Processor - Control Flow

2016-08-29 Thread koustav choudhuri
equential by default, but your Sqoop job might run asynchronously. I > believe the answer depends on your code (or library) not only starting the > Sqoop job, but polling for it's status until it is complete. > > Thanks, > > James > > > > On Sun, Aug 28, 2016 at 8:

ExecuteScript Processor - Control Flow

2016-08-28 Thread koustav choudhuri
Hi All I have a python script running on a Nifi Server , whin in turn calls a Sqoop job on a different Server . The next step in the script is to use the flow file from the previous processor to continue to the next processor . So the python script is like : 1. call the sqoop job on server 2 2.

Re: Query related to ExecuteScript

2016-08-18 Thread koustav choudhuri
I found the issue . Uncommented the parameter java.arg.11 in bootstrap.conf which resolved the issue. Now the template runs fine. Thanks Koustav On Thu, Aug 18, 2016 at 1:57 PM, koustav choudhuri wrote: > Hi Matt > > This is what I did : > > Removed the NIFI directory and

Re: Query related to ExecuteScript

2016-08-18 Thread koustav choudhuri
r it. There is an example of how to do this on my > blog: http://funnifi.blogspot.com/2016/03/executescript- > json-to-json-revisited_14.html > > Regards, > Matt > > On Wed, Aug 17, 2016 at 7:34 PM, koustav choudhuri > wrote: > >> Matt >> >> Thanks

Re: Query related to ExecuteScript

2016-08-17 Thread koustav choudhuri
mand than ExecuteScript for this use case. > ExecuteStreamCommand is much like ExecuteProcess but it accepts input flow > files. > > Regards, > Matt > > > On Aug 17, 2016, at 6:49 PM, koustav choudhuri > wrote: > > > > HI All > > > > I am trying to execute 2 dif

Query related to ExecuteScript

2016-08-17 Thread koustav choudhuri
HI All I am trying to execute 2 different shell scripts ( calling a sqoop job and calling a hive script) in a sequence. Can I achieve this through NIFI ? I tried to do it through ExecuteProcess Processor but the issue is Execute Processor does not accept an input. Then I moved to ExecuteScript :