Member since
10-02-2020
1
Post
0
Kudos Received
0
Solutions
10-02-2020
06:44 AM
The short answer is that I don't believe you will be able to retain any provenance going to the new version. Ran into this myself going from 1.7 to 1.10 this week. In the 1.10 release notes you will find they updated the underlying Lucene indices in the Provenance repository from version 4.10 to 8.0 in one go, https://issues.apache.org/jira/browse/NIFI-6182 I used the Lucene 5.x, 6.x and then 7.x org.apache.lucene.index.IndexUpgrader function to migrate the Lucene indices more than once but ran into a different error: This index was initially created with Lucene 6.x while the current version is 8.0.0 and Lucene only supports reading the current and previous major versions.. This version of Lucene only supports indexes created with release 7.0 and later. From that error I found this article indicating that multiple migrations of the Lucene indices are not supported: https://stackoverflow.com/questions/58114965/lucene-index-upgrading-from-version-4-6-to-8-0-0
... View more