Verify NiFi Toolkit Version
Ambari 2.7.0 verifies your NiFi Toolkit versions, and requires that you have one that matches the version of NiFi and NiFi Registry that you have installed. Before you begin the upgrade process, verify that you have the necessary version of the NiFi Toolkit.
Identify the version of NiFi and NiFi Registry that you have installed.
run hdf-select status | nifi run hdf-select status | nifi-registry
This returns the stack version of NiFi and NiFi Registry. For example, if you have HDF 3.1.x installed,
hdf-selectreturns something similar to:
nifi - 18.104.22.168-35 nifi-registry - 22.214.171.124-35
- Ensure that var/lib/ambari-agent/tmp contains a version of the NiFi Toolkit that contains this stack version. For example, based on the above returns, you should have a NiFi Toolkit directory named nifi-toolkit-126.96.36.199.1.1.0-35.
- If you do not have the required directory, copy an existing NiFi Toolkit directory and rename it using version and build number appropriate for your installation.
- Ensure that the service user is the owner of the copied directory.