一个nifi的报错,最近发现nifi一个节点有时候会不工作,但是节点正常的
2023-03-12 05:13:57,150 INFO org.apache.nifi.controller.cluster.ClusterProtocolHeartbeater: Heartbeat created at 2023-03-12 05:13:57,044 and sent to xxxxxxx.cn:9088 at 2023-03-12 05:13:57,150; send took 105 millis
2023-03-12 05:14:00,082 INFO org.apache.nifi.controller.repository.FileSystemRepository: Unable to write to container default due to archive file size constraints; waiting for archive cleanup
2023-03-12 05:14:00,517 INFO org.apache.kafka.clients.consumer.internals.ConsumerCoordinator: Revoking previously assigned partitions [] for group xxxxxx-prod
2023-03-12 05:14:00,518 INFO org.apache.kafka.clients.consumer.internals.AbstractCoordinator: (Re-)joining group xxxxxx-prod
2023-03-12 05:14:01,265 INFO org.apache.nifi.controller.repository.FileSystemRepository: Unable to write to container default due to archive file size constraints; waiting for archive cleanup
2023-03-12 05:14:02,262 INFO org.apache.nifi.controller.cluster.ClusterProtocolHeartbeater: Heartbeat created at 2023-03-12 05:14:02,152 and sent to xxxxxx.cn:9088 at 2023-03-12 05:14:02,262; send took 110 millis
2023-03-12 05:14:07,218 INFO org.apache.nifi.cluster.coordination.node.LeaderElectionNodeProtocolSender: Determined that Cluster Coordinator is located at xxxxxx.cn:9088; will use this address for sending heartbeat messages
2023-03-12 05:14:07,366 INFO org.apache.nifi.controller.cluster.ClusterProtocolHeartbeater: Heartbeat created at 2023-03-12 05:14:07,263 and sent to xxxxxx.cn:9088 at 2023-03-12 05:14:07,366; send took 103 millis
2023-03-12 05:14:07,920 INFO org.apache.nifi.cluster.coordination.node.LeaderElectionNodeProtocolSender: Determined that Cluster Coordinator is located at xxxxxx.cn:9088; will use this address for sending heartbeat messages
涉及一个参数,默认是50%,表示磁盘空间大于50%就会停止工作
nifi.content.repository.archive.max.usage.percentage
解决方式:
1、调大该参数
2、清理磁盘空间