Member since
05-28-2018
2
Posts
0
Kudos Received
0
Solutions
01-02-2025
01:59 PM
This solution is not concrete enough, I made the suggested changes for this error "Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to org.apache.nifi.processor.exception.TerminatedTaskException: org.apache.nifi.processor.exception.TerminatedTaskException", but I still have the problem, modify the state-management.xml, as follows, <cluster-provider> <id>zk-provider</id> <class>org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider</class> <property name="Connect String">node-1:2181,node-2:2181,node-3:2181</property> <property name="Root Node">/nifi</property> <property name="Session Timeout">10 seconds </property> <property name="Access Control">Open</property> and the zookeeper properties with the following: server.1=node-1:2888:3888;2181 server.2=node-2:2888:3888 ;2181 server.3=node-3:2888:3888;2181 I restarted zoo and nifi and the problem is not solved. What's more, I have a slow process to execute. When I execute the flow, the processors take a long time, more than 10 minutes to start. and does not run the generateflowfile processor. The processor previously when the cluster worked well the EvaluateJsonPath processor executed in milliseconds now it gets stuck and takes a long time to parse the json where there are some periods of data from to, so that the process works segmented with data, after the select the processors are configured as multitasking, I have nifi 1.11.4 and separately zookeeper 3.6.3
... View more