You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by "Vishal Jadhav (BLOOMBERG/ 731 LEX)" <vj...@bloomberg.net> on 2018/12/04 15:02:03 UTC

nifi 1.8 cluster load balancer properities

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

Re: nifi 1.8 cluster load balancer properities

Posted by Joe Witt <jo...@gmail.com>.
Hello

Have you reviewed this doc for load balancing properties?  If you are using
a 1.7.1 or earlier properties file youll want to diff with 1.8 to see what
is new.

http://nifi.apache.org/docs/nifi-docs/html/administration-guide.html

thanks

On Tue, Dec 4, 2018, 10:02 AM Vishal Jadhav (BLOOMBERG/ 731 LEX) <
vjadhav@bloomberg.net wrote:

>
> 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
>