Hi to all,

I'm using MiNiFi 1.14.0 with configured change ingestor to pull from HTTP C2 
server
whenever there is a change in configuration (change in NiFi flow that suppose 
to be running
on MiNiFi).
MiNiFi agent is running on Raspberry Pi 3 with enough disk space.

When I make a change and save the new template with the name template_name.v2, 
C2 pulls it,
saves it into ./cache folder and sends it to MiNiFi agent.

Then in MiNiFi agent log I have this error:

2021-09-21 12:54:26,456 ERROR [MiNiFi logging handler] 
org.apache.nifi.minifi.StdErr Failed to start flow service: Unable to load flow 
due to: java.lang.RuntimeException: Unable to create Provenance Repository
2021-09-21 12:54:26,457 ERROR [MiNiFi logging handler] 
org.apache.nifi.minifi.StdErr Shutting down...
2021-09-21 12:54:27,384 INFO [main] o.apache.nifi.minifi.bootstrap.RunMiNiFi 
Swap file exists, MiNiFi failed trying to change configuration. Reverting to 
old configuration.
2021-09-21 12:54:27,425 INFO [main] o.apache.nifi.minifi.bootstrap.RunMiNiFi 
Replacing config file with swap file and deleting swap file
2021-09-21 12:54:27,444 INFO [main] o.apache.nifi.minifi.bootstrap.RunMiNiFi 
Successfully spawned the thread to start Apache MiNiFi with PID 64002
2021-09-21 12:54:29,384 INFO [MiNiFi Bootstrap Command Listener] 
o.apache.nifi.minifi.bootstrap.RunMiNiFi The thread to run Apache MiNiFi is now 
running and listening for Bootstrap requests on port 38889

It cannot change the configuration flow because it cannot create Provenance 
Repository, and then
reverts to old configuration of the flow.
I tried to delete all the files in ./provenance_repository folder, and start it 
again, but the same happens.

Does anybody know why is this?

Thanks in advance,
Regards,
Tom

Reply via email to