Member since
10-22-2019
1
Post
0
Kudos Received
0
Solutions
10-22-2019
01:19 PM
@jspuri I suggest making the following configuration changes: 1. The zoo.cfg files on both your ZK nodes should be the same tickTime=2000
initLimit=5
syncLimit=2
dataDir=/home/ec2-user/zookeeper
clientPort=2181
server.1=ec2-server-1.compute-1.amazonaws.com:2888:3888
server.2=ec2-server-2.compute-1.amazonaws.com:2888:3888 Note: For proper Quorum zookeeper cluster should also have an odd number of servers (3 or 5) 2. In NiFi state-management.xml <property name="Connect String">ec2-server-1.compute-1.amazonaws.com:2888:3888,ec2-server-2.compute-1.amazonaws.com:2888:3888</property> 3. in nifi.properties file nifi.zookeeper.connect.string=ec2-server-1.compute-1.amazonaws.com:2888:3888,ec2-server-2.compute-1.amazonaws.com:2888:3888 Hope this helps, Matt
... View more