【问题标题】:NIFI secure 3 node clusterNIFI 安全 3 节点集群
【发布时间】:2021-02-25 21:33:45
【问题描述】:

我在我的 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

【问题讨论】:

  • 您能补充更多细节吗?错误说要检查一些属性,你能分享这些属性吗?
  • 我在通过 docker 运行集群时遇到了完全相同的问题。任何帮助将不胜感激,谢谢。

标签: apache-nifi


【解决方案1】:

请参阅clustering configuration guide 了解您必须配置的集群选项列表。对于负载平衡,您需要指定防火墙中打开的端口,以便节点可以通信。您还需要确保每个主机都设置了节点主机名属性、设置了主机端口,并且节点和 Apache Zookeeper 集群之间没有防火墙限制。

如果您想简化设置,可以使用管理员指南的集群配置部分中的信息在每个 NiFi 实例中设置嵌入式 ZooKeeper 节点。但是,我建议设置一个外部 ZooKeeper 集群。多做一些工作,但最终还是值得的。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-01
    • 1970-01-01
    • 2019-04-15
    相关资源
    最近更新 更多