Upgrading from Cloudera Flow Management 2.1.6 to 2.1.7

Use this procedure to upgrade from Cloudera Flow Management (CFM) 2.1.6 to a CFM 2.1.7 release up to and including 2.1.7.4000 (SP4).

To upgrade to CFM 2.1.7 on CDP Private Cloud Base, you must stop the CFM services, update the CSD files, restart the SCM server, activate the new CFM parcel, and then restart your CFM services.

If you’re starting from a CFM 2.x version lower than 2.1.6, review the Upgrade and migration paths diagram to confirm your source and target versions and any required intermediate upgrades.

Review the supported upgrade paths for your current CFM and platform versions and select one that applies to your current and target CFM and Cloudera platform versions.

If you want to use CFM 2.1.7, you have the following upgrade options:

  • Upgrade from CFM 2.1.6 on CDP 7.1.7 to CFM 2.1.7 on CDP 7.1.7

  • Upgrade from CFM 2.1.6 on CDP 7.1.8 to CFM 2.1.7 on CDP 7.1.8

  • Upgrade from CFM 2.1.7 on CDP 7.1.7 to CFM 2.1.7 on CDP 7.1.8

  • Upgrade from CFM 2.1.7 on CDP 7.1.8 to CFM 2.1.7 on CDP 7.1.9

  1. Stop NiFi.
  2. Stop NiFi Registry.
  3. Delete the old CSD files from the local descriptor repository.
  4. Download the new CSD files for NiFi and NiFi Registry for your target CFM version and operating system.
    For example: Using the following wget commands downloads the required CSD files for CFM 2.1.7 SP4 on RHEL7/CentOS7.
    wget https://<username>:<password>@archive.cloudera.com/p/cfm2/2.1.7.4000/redhat7/yum/tars/parcel/NIFI-1.28.1.2.1.7.4000-47.jar
    wget https://<username>:<password>@archive.cloudera.com/p/cfm2/2.1.7.4000/redhat7/yum/tars/parcel/NIFIREGISTRY-1.28.1.2.1.7.4000-47.jar

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

    Make sure the files have appropriate ownership, access attributes, and SELinux permissions if applicable.

  5. Download the new CFM parcel and .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.

  6. Restart the cloudera-scm-server service:
    systemctl restart cloudera-scm-server
  7. In Cloudera Manager, from the Parcels page, distribute and activate the CFM 2.1.7.5000 parcel.
    After clicking Activate, the Activate CFM <version> on <cluster-name> pop-up displays. Click Activate Only, and then OK.
  8. Restart the Cloudera Management Service.
  9. Restart NiFi and NiFi Registry and deploy the client configurations.
  10. Optional: Clean up the previous parcels from the host.
    1. From the Parcel menu, go to the older CFM parcel.
    2. Select Remove From Host.
    3. Select Delete.
  11. From the Ranger UI, NiFi service controller policy:
    1. Add the nifi user to the policy with READ permissions.
    2. Verify the nifi group is set in the policy.