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 03-07-2017 03:54 PM
Hi All,
I dont want to use the embeded zookeeper, i have configured my 3 nod nifi Cluster with exisiting zookeeper(not embeded) which we have in our hadoop cluster.
My doubt is i have set the property
nifi.state.management.embedded.zookeeper.start is false.
Then do i need to mention the below zookeepers server list in Zookeeper.properties?
server.1=node-1:2888:3888 server.2=node-2:2888:3888 server.3=node-3:2888:3888
Is this really required?
And do i need to created state dir ?
mkdir ./state mkdir ./state/zookeeper echo 1 > ./state/zookeeper/myid
The above 2 steps is really required? When we not using Embedded Zookeeper?
Created 03-07-2017 04:15 PM
Thanks Much @Pierre Villard The quorum propert shoule mention in zookeeper.properties right? and i need to mention the external zookeeper instances right?
server.1=node-1:2888:3888 server.2=node-2:2888:3888 server.3=node-3:2888:3888
Created 03-07-2017 04:08 PM
This is not required when using external ZooKeeper instances.
Only the quorum property should be required in nifi.properties file.
Hope this helps.
Created 03-07-2017 04:15 PM
Thanks Much @Pierre Villard The quorum propert shoule mention in zookeeper.properties right? and i need to mention the external zookeeper instances right?
server.1=node-1:2888:3888 server.2=node-2:2888:3888 server.3=node-3:2888:3888
Created 03-07-2017 04:18 PM
No if you have a Zookeeper quorum available, you just need to the set the following property:
nifi.zookeeper.connect.string=node-1:2181,node-2:2181,node-3:2181
in nifi.properties file. You don't need to modify the zookeeper.properties file in your case.
Hope this helps.