Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi - uncommitted changes after restart when processor is disabled

NiFi - uncommitted changes after restart when processor is disabled

Rising Star

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.

4 REPLIES 4
Highlighted

Re: NiFi - uncommitted changes after restart when processor is disabled

Master Guru

@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

Re: NiFi - uncommitted changes after restart when processor is disabled

Rising Star

@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!

Re: NiFi - uncommitted changes after restart when processor is disabled

Master Guru

@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?

Re: NiFi - uncommitted changes after restart when processor is disabled

Rising Star

@MattWho 
Thanks for this information.
I haven't yet updated the registry because I can't do this myself.
As soon as the update will be made sometime I will have a look on this an give you a reply.

Don't have an account?
Coming from Hortonworks? Activate your account here