我在我的nifi集群中看到了一些错误,我有一个3节点安全的nifi集群,我看到了下面的错误。在2个节点上
ERROR [main] org.apache.nifi.web.server.JettyServer Unable to load flow due to:
java.io.IOException: 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发布于 2020-11-20 05:54:43
有关您必须配置的集群选项的列表,请参阅clustering configuration guide。为了实现负载平衡,您需要指定在防火墙中打开的端口,以便节点可以通信。您还需要确保设置了每个主机的节点主机名属性,设置了主机端口,并且在节点和Apache Zookeeper集群之间没有防火墙限制。
如果希望简化设置,可以使用管理指南的集群配置部分中的信息在每个NiFi实例中设置嵌入式ZooKeeper节点。但是,我建议设置一个外部ZooKeeper集群。多做一点工作,但最终是值得的。
https://stackoverflow.com/questions/64828317
复制相似问题