...
/ --> opt/ --> nifi-current_version |--> LICENSE |--> NOTICE |--> README |--> bin/ |--> conf/ |--> docs/ |--> lib/ |--> work/ |--> content_repository/ |--> flowfile_repository/ |--> logs/ |--> provenance_repository/
To optimize the NiFi directory structure for upgrade:
Move the following directories out of the NiFi installation directory:
Database repository
All content repositories
Flowfile repository
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:
flow.xml.gz
authorized-users.xml
The templates directory
...
/ |--> opt/ | |--> nifi-current_version | | |--> LICENSE | | |--> NOTICE | | |--> README | | |--> bin/ | | |--> conf/ | | |--> docs/ | | |--> lib/ | | |--> work/ | | | |--> Configuration_resources/ | | |--> authorized-users.xml | | |--> flow.xml.gz | | |--> templates/ | | |--> custom_lib/ | |--> database_repository/ |--> content_repository_1/ |--> content_repository_N |--> flowfile_repository/ |--> NiFi-logs/ |--> provenance_repository_1/ |--> provenance_repository_N/
...
Important: Upgrading from NiFi 0.x to 1.x converts your database, content, flowfile, log, and provenance repositories automatically. Once upgraded, you can not revert the repositories back to 0.x format.
...
Identify and save the changes you have made to the default NAR files in your existing instance.
Perform your upgrade toNiFi to NiFi 1.0.0.
Redo the changes you have made to the NAR files in your NiFi 1.0.0 instance.