Support Questions

Find answers, ask questions, and share your expertise

Post upgrade of apache nifi cluster getting Failed to compress error for provenance

avatar
Explorer

Hi All

 

We have upgraded the 3 node nifi cluster from 1.7.1 to 1.12.1 after that we are getting below error:

 

2021-12-07 01:22:12,822 ERROR [Compress Provenance Logs-1-thread-1] o.a.n.p.s.EventFileCompressor Failed to compress /opt/nifi/provenance_repository/uat1/8781241.prov on rollover

 

When we saw in the provenance repository its compressed 10 mins before.

-rw-r-----. 1 bidanifiu1 bidanifiu1 791251 Dec 7 01:12 8781241.prov.gz

 

2 REPLIES 2

avatar
Master Mentor

@sam_001 

It appears you are hitting a known bug in Apache NiFi 1.12:
https://issues.apache.org/jira/browse/NIFI-7856

This provenance related bug was addressed in Apache NiFi 1.13.
I recommend you upgrade.

If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,

Matt



avatar
Explorer

@MattWho  -Thanks for your reply.

 

We have changed below property 

 

Before “nifi.provenance.repository.compress.on.rollover=true”

 

After “nifi.provenance.repository.compress.on.rollover=false”

 

We have the enough space for provenance

/dev/mapper/vg04-provenrepo 3.7T 27G 3.7T 1% /opt/nifi/provenance_repository