- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Nifi Without Embeded Zookeeper
- Labels:
-
Apache NiFi
Created ‎03-07-2017 03:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
