Upgrading from Cloudera Flow Management 4.10.0 or 4.11.0 to 4.12.0

This guide outlines the prerequisites and steps for upgrading from Cloudera Flow Management 4.10.0 or 4.11.0 to 4.12.0 on Cloudera Base on premises.

Cloudera Flow Management 4.10.0 and 4.11.0 are supported only on Cloudera Base on premises 7.3.1. Cloudera Flow Management 4.12.0 is supported only on Cloudera Base on premises 7.3.2. These compatibility requirements determine the upgrade sequence and steps.

  • Ensure that Cloudera Manager is running and accessible.
  • Identify the latest Cloudera Flow Management parcels and Custom Service Descriptor (CSD) files for your operating system in Download locations.
  • Have your Cloudera Archive credentials ready.
  1. Stop Cloudera Flow Management.
    In Cloudera Manager, stop the following services in this order:
    1. NiFi
    2. NiFi Registry
  2. Upgrade Cloudera Base on premises from 7.3.1 to 7.3.2.

    Follow the Cloudera Base on premises upgrade documentation.

  3. Navigate to the CSD directory and delete the old CSD JAR files.
  4. Download the Cloudera Flow Management 4.12.0 CSD JAR files for NiFi and NiFi Registry.
    For example: For RHEL8, use the following commands:
    wget https://<username>:<password>@archive.cloudera.com/p/cfm4/4.12.0.0/redhat8/yum/tars/parcel/NIFI-2.6.0.4.12.0.0-xxx.jar
    wget https://<username>:<password>@archive.cloudera.com/p/cfm4/4.12.0.0/redhat8/yum/tars/parcel/NIFIREGISTRY-2.6.0.4.12.0.0-xxx.jar

    By default, Cloudera Manager stores CSD files in /opt/cloudera/csd. To change this location, go to Administration > Settings > Local Descriptor Repository Path.

  5. Download the Cloudera Flow Management 4.12.0 parcel and its .sha checksums file appropriate for your operating system and place them in the local parcel repository.
    The default directory is /opt/cloudera/parcel-repo/.

    Verify that the CSD, parcel, and checksum files have the required ownership, access permissions, and SELinux settings, if applicable.

  6. Restart the Cloudera SCM Server to load the new CSDs.
    systemctl restart cloudera-scm-server
  7. Distribute and activate the Cloudera Flow Management 4.12.0 parcel in Cloudera Manager.
    1. Go to Parcels.
    2. Locate the Cloudera Flow Management parcel.
    3. Click Distribute.
    4. After distribution completes, click Activate.
    5. In the pop-up, select Activate Only and click OK.
  8. Restart Cloudera Management Service.
  9. Restart NiFi and NiFi Registry.
  10. Deploy the client configurations.
  11. In the Ranger UI, ensure proper access is set up for the NiFi service controller policy:
    1. Add the nifi user to the policy with READ permissions.
    2. Verify that the nifi group is assigned to the policy.
  12. Optional: To remove old parcels from the host:
    1. Go to the Parcels page.
    2. From the Parcel menu, select the old Cloudera Flow Management parcel.
    3. Click Remove From Host.
    4. Click Delete to permanently remove the parcel files.