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 10-06-2016 08:15 AM
Hello all,
I've trying configure two instances NIFI in the same cluster (3 nodes)
My configuration :
Instance 1 :
-bash-4.1# grep port conf/nifi.properties nifi.remote.input.socket.port=10443 nifi.web.http.port= nifi.web.https.port=9443 nifi.cluster.node.protocol.port=11443 -bash-4.1# more conf/zookeeper.properties clientPort=2181 server.1=nifi001:2888:3888 server.2=nifi002:2888:3888 server.3=nifi003:2888:3888
Instance 2 :
-bash-4.1# grep port conf/nifi.properties nifi.remote.input.socket.port=10444 nifi.web.http.port= nifi.web.https.port=9444 nifi.cluster.node.protocol.port=11444 -bash-4.1# more conf/zookeeper.properties clientPort=2182 server.1=nifi001:2889:3889 server.2=nifi002:2889:3889 server.3=nifi003:2889:3889
It's missing some things, because my nifi002 and nifi003 can joint the cluster.
Created 10-06-2016 12:36 PM
I'm not sure I understand the question..
Are you asking if you can run two NiFi clusters on the same physical hardware?
If so, what would be the reason for doing this?
Created 10-06-2016 12:21 PM
There could be many other things wrong, but in your ZooKeeper properties, the servers should be the same on every node. If instance #1 is pointing to 2888:3888 for all three ZK servers, then instance #2 and #3 should also be pointing to the same thing.
Created 10-06-2016 12:30 PM
Thanks @Bryan Bende
Perpahs, it was not cleared, I want to start 2 instances nifi with the same cluster (node1, node2, node2)
so I would have 2 url
==> https://node1:9443 (instance1 ==> canva1)
==> https://node1:9444 (instance2 ==> canva2)
It is possible ?
Created 11-16-2016 03:28 PM
I have related question: how to deploy multiple nifi components to all the HDF cluster nodes. And, then the question to ask is just like you ask above. I use Ali's HDF ambari-bootstrap blog's approach to automatically deploy the blueprint-based HDF 2.0.1 cluster. But, it has only one NIFI in one of the specific node within the HDF cluster. I am trying to figure our how to deploy NIFI to all the HDF cluster node.
Created 10-06-2016 12:36 PM
I'm not sure I understand the question..
Are you asking if you can run two NiFi clusters on the same physical hardware?
If so, what would be the reason for doing this?
Created 10-06-2016 01:18 PM
I've 4 teams, i would have one canva per team.
Created 10-06-2016 01:25 PM
The way to set this up in Apache NiFi 1.0.0 is to use a single NiFi cluster with process groups for each team, and restrict the permissions appropriately so that members of a team can only work with in their given process group.
See the "Multi-Tenancy" section of this post for an example:
http://bryanbende.com/development/2016/08/17/apache-nifi-1-0-0-authorization-and-multi-tenancy