- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Run multiple NiFi versions in the same clusters?
- Labels:
-
Apache NiFi
Created ‎05-14-2017 07:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
is it possible to run multiple NiFi versions on the same nodes?
I would like to test out the new NiFi 1.2.0 release and still maintain my old NiFi cluster.
What are the config settings that need to be adjusted? Maybe an official "guide" to this would be great!
Thanks
Created ‎05-15-2017 12:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
as of today you can not have different NIFI versions within the same NIFI Cluster (managed by Zookeeper), however you can setup different and separated clusters since Nifi as well as Zookeper can be run multiple times on the same servers since you only have to copy them into different folders and separate the config-files (nifi.properties, zoo.cfg etc.), and set different data-dirs / provenance-dirs etc.
I would recommend to start with having two separated NIFI instances /opt/nifi1 and /opt/nifi2, each one with its own paths and ports configured in the nifi.properties file of each copy. And especially take care of the paths for
- content_repository
- database_repository
- flowfile_repository
- provenance_repository
- work directory
- logs directory
This is often forgotten when copying a nifi instance 1 as a base to setup a second one. Just have a look at the parameters of the properties file.
Hope that helps.
Created ‎05-15-2017 12:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
as of today you can not have different NIFI versions within the same NIFI Cluster (managed by Zookeeper), however you can setup different and separated clusters since Nifi as well as Zookeper can be run multiple times on the same servers since you only have to copy them into different folders and separate the config-files (nifi.properties, zoo.cfg etc.), and set different data-dirs / provenance-dirs etc.
I would recommend to start with having two separated NIFI instances /opt/nifi1 and /opt/nifi2, each one with its own paths and ports configured in the nifi.properties file of each copy. And especially take care of the paths for
- content_repository
- database_repository
- flowfile_repository
- provenance_repository
- work directory
- logs directory
This is often forgotten when copying a nifi instance 1 as a base to setup a second one. Just have a look at the parameters of the properties file.
Hope that helps.
Created ‎05-15-2017 01:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Both your NiFi clusters can use teh same zookeeper, but you need to make sure each cluster is configured to use a different ZK root node. The root node is set in the nifi.properties file and the state-management.xml file.
Created ‎04-03-2018 11:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I actually have a cluster with 2 nodes. One node is on version 1.4 where as the other node , I have just upgraded it to 1.5 however it doesn't seem to get onto the cluster . It just shows connecting and then it goes into a disconnected mode . I presumed you can run one node on one version and other node on another version @Peter Greiff can you please let me know whether this is possible or should I upgrade both nodes to 1.5 and then only it would work ?
