I am trying to create a load balanced cluster with 2 node (experimenting on dev 
nifi 1.8). 

After, I start the nifi services on the 2 nodes, with the zookeeper. I observer 
that the cluster elects the Primary node, and then nifi terminates with the 
following error:

2018-12-04 14:20:05,949 ERROR [main] o.a.nifi.controller.StandardFlowService 
Failed to load flow from cluster due to: 
org.apache.nifi.cluster.ConnectionException: Failed to connect node to cluster 
due to: java.io.IOException: Could not begin listening for incoming connections 
in order to load balance data across the cluster. Please verify the values of 
the 'nifi.cluster.load.balance.port' and 'nifi.cluster.load.balance.host' 
properties as well as the 'nifi.security.*' properties

nifi.cluster.load.balance.host is not set,
nifi.cluster.load.balance.port is set to 8080, the same where nifi service UI 
is running.

A big picture on how these values are used by nifi will help greatly.

Thanks,
- Vishal

Reply via email to