This guide outlines the prerequisites and steps for upgrading from Cloudera Flow Management 4.0.0 [Technical Preview] to 4.10.0 on Cloudera Base on premises.
-
Ensure Cloudera Manager is running and accessible.
-
Review the Download locations for the latest Cloudera Flow Management parcels and CSD files for your operating system.
-
Have credentials ready to access Cloudera’s download repository.
-
In Cloudera Manager, stop the following services in this order:
-
Navigate to the CSD directory and delete the old CSD JAR files.
-
Download the new CSD files for NiFi and NiFi Registry.
For example: For RHEL8, use the following
commands:
wget https://<username>:<password>@archive.cloudera.com/p/cfm2/4.10.0.0/redhat8/yum/tars/parcel/NIFI-2.3.0.4.10.0.0-154.jar
wget https://<username>:<password>@archive.cloudera.com/p/cfm2/4.10.0.0/redhat8/yum/tars/parcel/NIFIREGISTRY-2.3.0.4.10.0.0-154.jar
By default, Cloudera Manager stores CSD files in
/opt/cloudera/csd. To change this location, go to .
Make sure the files have appropriate ownership, access attributes, and
SELinux permissions if applicable.
-
Download the new Cloudera Flow Management parcel and associated
.sha checksums file appropriate for your operating system.
The default parcel location is
/opt/cloudera/parcel-repo/.
Ensure that you maintain the appropriate file ownership and access attributes and
SELinux permissions if needed.
-
Restart the Cloudera SCM Server to recognize the new CSDs.
systemctl restart cloudera-scm-server
-
Activate the parcel in Cloudera Manager.
-
Go to Parcels.
-
Locate the Cloudera Flow Management
4.10.0 parcel.
-
Click Distribute, then
Activate.
-
In the pop-up, select Activate Only, then click
OK.
-
Restart Cloudera Management Service.
-
Restart NiFi and NiFi Registry.
-
Deploy the client configurations.
- Optional:
To remove old parcels from the host:
-
Go to the Parcels page.
-
From the Parcel menu, select the old Cloudera Flow Management parcel.
-
Click Remove From Host.
-
Click Delete to permanently remove the files.
-
In the Ranger UI, ensure proper access is set up for the NiFi service controller
policy:
-
Add the nifi user to the policy with READ permissions.
-
Verify that the nifi group is assigned to the policy.