gpt4 book ai didi

apache-nifi - NiFi : Failed to connect node to cluster because local flow is different than cluster flow

转载 作者:行者123 更新时间:2023-12-03 16:50:24 31 4
gpt4 key购买 nike

重新启动服务器后,NiFi 无法启动。在服务器重新启动之前,我能够毫无问题地关闭/启动 NiFi。

我确保所有节点上的 3 个配置文件(flow.xml.gz、authorizations.xml 和 users.xml)都相同。

2019-12-08 14:36:10,085 ERROR [main] o.a.nifi.controller.StandardFlowService Failed to load flow from cluster due to: org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow.
org.apache.nifi.controller.UninheritableFlowException: Failed to connect node to cluster because local flow is different than cluster flow.
at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:1026)
at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:539)
at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1009)
at org.apache.nifi.NiFi.<init>(NiFi.java:158)
at org.apache.nifi.NiFi.<init>(NiFi.java:72)
at org.apache.nifi.NiFi.main(NiFi.java:297)
Caused by: org.apache.nifi.controller.UninheritableFlowException: Proposed Authorizer is not inheritable by the flow controller because of Authorizer differences: Proposed Authorizations do not match current Authorizations: Proposed fingerprint is not inheritable because the current access policies is not empty.

此外,通过删除 zookeeper 集群中 NiFi 的 znode,排除了任何 zookeeper 损坏问题。

我在 NiFi 1.9.1

任何帮助都受到高度赞赏。

最佳答案

这意味着authorizations.xml 或users.xml 中存在差异,很可能是authorizations.xml。我会尝试将这两个文件从其他节点之一复制到出现问题的节点,这将确保它们完全相同。

关于apache-nifi - NiFi : Failed to connect node to cluster because local flow is different than cluster flow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59237398/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com