- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Post upgrade of apache nifi cluster getting Failed to compress error for provenance
- Labels:
-
Apache NiFi
Created 12-08-2021 05:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created 12-13-2021 11:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
Created 12-16-2021 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
