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 - 126.96.36.199-35 nifi-registry - 188.8.131.52-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-184.108.40.206.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.