如何在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 (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...