nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <bbe...@gmail.com>
Subject Re: Cluster voting
Date Sat, 19 Nov 2016 15:52:11 GMT
Hey Joe,

In nifi.properties there should be these two properties:

nifi.cluster.flow.election.max.wait.time=5 mins
nifi.cluster.flow.election.max.candidates=

You can set the second one to the number of cluster nodes and the vote
should happen much quicker.

-Bryan

On Sat, Nov 19, 2016 at 6:59 AM Joe Gresock <jgresock@gmail.com> wrote:

> I deployed an updated nifi-standard-nar to test a fix, and I restarted all
> nodes in my cluster at the same time.  It appears that each time I restart
> all nodes at the same time, I get messages saying the election will
> complete in 300 seconds, etc. down to 0 seconds.  It eventually selects the
> right flow and all the nodes connect, but the result is that it takes a
> minimum of 5 minutes to start up a cluster after all the nodes have shut
> down.
>
> Is this election time configurable somewhere?
>
> --
> I know what it is to be in need, and I know what it is to have plenty.  I
> have learned the secret of being content in any and every situation,
> whether well fed or hungry, whether living in plenty or in want.  I can do
> all this through him who gives me strength.    *-Philippians 4:12-13*
>
-- 
Sent from Gmail Mobile

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message