Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 11-30-2016 07:11 AM
Hi,
It seems the nifi canvas can be used by only one person for one dataflow
How do we start/stop/schedule multiple data flows? We can't keep all on the canvas..right?
Thanks,
Avijeet
Created 11-30-2016 08:06 AM
Actually the NIFI canvas can be used by multiple sessions in parallel - just test it on your environment: Open it once in WebBrowser A and then in B (should be different ones eg. FireFox and Chrome etc.). However you are right - there needs to go some more improvement into the features to better support the management. Good news is that it is already considered important, have a look at https://cwiki.apache.org/confluence/display/NIFI/Configuration+Management+of+Flows
Right now a good approach would be to group the different data flows in process groups for management and version controlling (via templates).
Created 11-30-2016 08:06 AM
Actually the NIFI canvas can be used by multiple sessions in parallel - just test it on your environment: Open it once in WebBrowser A and then in B (should be different ones eg. FireFox and Chrome etc.). However you are right - there needs to go some more improvement into the features to better support the management. Good news is that it is already considered important, have a look at https://cwiki.apache.org/confluence/display/NIFI/Configuration+Management+of+Flows
Right now a good approach would be to group the different data flows in process groups for management and version controlling (via templates).
Created 11-30-2016 08:19 AM
hi @Peter Greiff, Thanks for the response.
so lets say I have 10 templates, and I want to start/stop them using rest-api
can I do it, without loading them in the UI? what does nifi-considers as active? I believe only active elements can be accessed by rest api?
Created 11-30-2016 08:35 AM
Avijeet, yes this is possible. You will have to use the "Update Processor" API from NIFI.
There is a great description written by Andrew Grande about How to update Nifi Flows on the fly: https://community.hortonworks.com/articles/3160/update-nifi-flow-on-the-fly-via-api.html
Created 11-30-2016 08:56 AM
Hi Peter, Thanks, let me try to see is if i can start a template/process group using rest-api without loading in UI.
Created 11-30-2016 09:13 AM
You can also use the commandline: https://community.hortonworks.com/questions/49338/using-the-nifi-rest-api-to-execute-a-data-flow-cre...