Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi in production

Solved Go to solution

Nifi in production

Expert Contributor

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Nifi in production

Contributor

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).

5 REPLIES 5
Highlighted

Re: Nifi in production

Contributor

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).

Re: Nifi in production

Expert Contributor

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?

Re: Nifi in production

Contributor

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

Re: Nifi in production

Expert Contributor

Hi Peter, Thanks, let me try to see is if i can start a template/process group using rest-api without loading in UI.

Re: Nifi in production

Contributor
Don't have an account?
Coming from Hortonworks? Activate your account here