Skip to main content
justenji
Gold ⭐️⭐️
Jan 10, 2020 7:09 AM UTC
Solved

NiFi - uncommitted changes after restart when processor is disabled

Hi all,


there are process groups in my NiFi (1.10.0) which contain disabled processors.
These process groups are versioned and all changes are committed.


As soon as the NiFi instance is restarted these process groups are marked as changed and "show local changes" here:

NiFi_ChangesAfterRestart.png

 

 

I would like to know if this behaviour of NiFi is "normal". So far I have not noticed this fact.
It is misleading when uncommitted changes are shown and it is not possible to avoid that disabled processors are included.

 

Does anyone know the phenomenon described above?
Is there a solution for it?


Thanks for any advice.

MattWho
MattWhoAnswer
Titanium ⭐️⭐️
Jan 10, 2020 1:14 PM UTC

@justenji 

 

What version of NiFi-Registry are you using?

If the NiFi-Registry version is older then 0.5.0, you will encounter this bug.
https://issues.apache.org/jira/browse/NIFI-6025

Hope this helps,

Matt

5 replies

MattWho
Titanium ⭐️⭐️
MattWhoAnswer
Titanium ⭐️⭐️
Jan 10, 2020 1:14 PM UTC

@justenji 

 

What version of NiFi-Registry are you using?

If the NiFi-Registry version is older then 0.5.0, you will encounter this bug.
https://issues.apache.org/jira/browse/NIFI-6025

Hope this helps,

Matt

Translate
justenji
justenjiAuthor
Gold ⭐️⭐️
Jan 11, 2020 6:06 PM UTC

@MattWho 

refering to nifi-registry-bootstrap.log we use v0.3.0

 

But I'm pretty sure that I didn't watch this behaviour before using NiFi 1.10.0 (former version 1.9.2).

Can you confirm this connection with the NiFi version?

 

Thanks!

Translate
MattWho
Titanium ⭐️⭐️
Titanium ⭐️⭐️
Jan 16, 2020 5:36 PM UTC

@justenji 

 

That bug was actually introduced through a change that went in to NiFi 1.8 that pushed included the enabled/disabled state to registry. But NiFi registry shipping at that time had not yet been updated to store this new parameter.  

Do you still see the issue even after upgrading to NiFi-Registry 0.5?

Translate