Created on 02-21-2019 04:51 AM - edited 09-16-2022 07:10 AM
HI All ,
I have created 2 nifi instances on Google Cloud Platform. I now plan to bring them onto a cluster. However I am getting this error
server.quorum.QuorumPeerConfig does not have the form host:port or host:port:port or host:port:port:type
I have checked my zoo keeper properties file again and again but not sure whats the issue. My zoo keeper properties file is as follows . I am not sure as to why this issue is cropping up. My nifi servers are by the name nifi-server2 and nifi-server1 and ports are 2888 and 3888 . I have followed the documentation by Pierre Villard.
server.1=nifi-server2:2888:3888
server.2=nifi-server1:2888:3888
# server.3=nifi-node3-hostname:2888:3888
Can someone please help me here.
Created 02-21-2019 11:33 AM
Got this fixed now 🙂 . Actually there is an extra line in the zookeeper.properties file which is right at the end and that line creates an issue . It just needs to be deleted and this will then work like a charm .
Created 02-21-2019 10:25 AM
Hi @Abhinav Joshi, I am also configuring NiFi cluster with 3 machines (1 Manager and 2 Nodes) but could not be able to configure it yet. Can you share some useful link in this regard. My NiFi version is 1.8.0 and using external Zookeeper instead of embedded Zookeeper.
Created 02-21-2019 11:11 AM
Hi Rishabh , Have a look at https://pierrevillard.com/2016/08/13/apache-nifi-1-0-0-cluster-setup/
This one is really good . I have followed this although I am stuck . Waiting for Pierre Villard to respond
Created 02-21-2019 12:22 PM
I have tried this in my 2nd attempt but this is also not working for me. Cluster was created but no nodes were attached with this.
Created 02-24-2019 06:54 PM
Created 02-21-2019 11:33 AM
Got this fixed now 🙂 . Actually there is an extra line in the zookeeper.properties file which is right at the end and that line creates an issue . It just needs to be deleted and this will then work like a charm .