To optimize the NiFi directory structure for upgrade:
Move the following directories out of the NiFi installation directory:
All content repositories
NiFi log repository
All provenance repositories
See the System Administrator's Guide for information on options for creating these repositories to optimize performance and stability.
Move static items that do not change from version to version out of the conf directory. These items include:
The templates directory
If you have written any custom NARs, first test and validate them in a separate new NiFi release sandbox prior to upgrading. The verified NARs can be preserved during the upgrade by storing them in a centralized location as follows:
Create a second library directory, called
Move your custom NARs to this new lib directory.
Add a new line to the
nifi.propertiesfile to specify this new lib directory:
If you have modified any of the default NAR files, an upgrade will overwrite these changes. To preserve the customization:
Identify and save the changes you have made to the default NAR files in your existing instance.
Perform your upgrade toNiFi 1.0.0.
Redo the changes you have made to the NAR files in your NiFi 1.0.0 instance.