微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在Nifi 1.9.2和Zookeeper 3.x中顺利恢复节点?

如何解决如何在Nifi 1.9.2和Zookeeper 3.x中顺利恢复节点?

Nifi中有3个节点正在运行。但是,其中一个突然丢失了,日志显示本地流与集群流不同。我想选择以前成功的解决方案,删除flow.xml。失败的节点的gz并重新启动它。

我不确定故障节点中的数据是否会丢失?我们将不胜感激! 为什么节点会丢失?我将日志发布如下。

2020-08-20 08:17:33,019 ERROR [Reconnect to Cluster] o.a.nifi.controller.StandardFlowService Handling reconnection request Failed 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.handleReconnectionRequest(StandardFlowService.java:668)
    at org.apache.nifi.controller.StandardFlowService.access$200(StandardFlowService.java:109)
    at org.apache.nifi.controller.StandardFlowService$1.run(StandardFlowService.java:415)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.nifi.controller.UninheritableFlowException: Proposed configuration is not inheritable by the flow controller because of flow differences: Found difference in Flows:
Cluster Fingerprint contains additional configuration from Local Fingerprint: 655b3f59-6f5c-1d8d-0000-0000002a2398NO_VALUENO_VALUENO_VERSION_CONTROL_informatION655b3f67-6f5c-1d8d-ffff-ffffc31d8b7eNO_VALUENO_VALUENO_VERSION_CONTROL_informatION75b74aab-1e43-3e6d-88e9-6ce5936703a4
    at org.apache.nifi.controller.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:315)
    at org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1368)
    at org.apache.nifi.persistence.StandardXMLFlowConfigurationDAO.load(StandardXMLFlowConfigurationDAO.java:88)
    at org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:812)
    at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:1001)
    ... 4 common frames omitted

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。