Howdy, I'm trying to set up a cluster for the 1st time. I 1st tried to setup a NCM and a node on the same machine. In nifi.properties I set: nifi.web.http.port=8081 nifi.cluster.is.node=true nifi.cluster.node.address= nifi.cluster.node.protocol.port=8083 nifi.cluster.is.manager=true nifi.cluster.manager.address= nifi.cluster.manager.protocol.port=8082
I got the error: 2015-12-18 11:14:56,827 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: ... nested exception is java.lang.IllegalStateException: Application may be configured as a cluster manager or a node, but not both. What did I do wrong? The admin guild says : "it is also perfectly fine to install the NCM and one of the nodes on the same server, as the NCM is very lightweight". So I decided I could figure that out later and set nifi.cluster.is.node=false I started my NCM and then started a node on another machine. I got the following error. 2015-12-18 11:06:45,112 INFO [Handle Controller Startup Failure Message from [id=24b57ab2-1853-4814-8c31-4e467d3364e3, apiAddress=localhost, apiPort=8081, socketAddress=localhost, socketPort=8083]] o.a.n.c.manager.impl.WebClusterManager Node Event: [id=24b57ab2-1853-4814-8c31-4e467d3364e3, apiAddress=localhost, apiPort=8081, socketAddress=localhost, socketPort=8083] -- 'Node could not join cluster because it failed to start up properly. Setting node to Disconnected. Node reported the following error: Failed to connect node to cluster because local flow is different than cluster flow.' How do I get the cluster flow and the local flow to be the same? thank you -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Cluster-Setup-tp5853.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
