Upgrade a Cloudera Data Flow service

You can upgrade your Cloudera Data Flow service together with all DataFlow deployments in that environment with the push of a button.

  1. In Cloudera Data Flow, select Environments from the left navigation pane.
  2. Select the environment you want to upgrade and click Manage Cloudera Data Flow Service.
  3. Click Actions > Upgrade Data Flow.
  4. Optional: If you want to preserve the NiFi runtime versions of existing deployments and test sessions, select the Preserve NiFi versions of deployments and test sessions option. This selection applies to all existing deployments and test sessions.

    The upgrade wizard determines if the NiFi versions of your deployments and test sessions will be compatible with the Cloudera Data Flow service after the upgrade.

    If they are not compatible, service upgrade is blocked until you either upgrade all existing deployments and test sessions at least to the minimum NiFi version supported by the upgraded Cloudera Data Flow service, or you delete them. To view the list of incompatible resources, expand See resources with unsupported NiFi versions .

  5. Click Upgrade.
    The environment status changes to Upgrading and you see a similar message under Event History:
  6. You can monitor the upgrade procedure in Event History. Click Manage DataFlow then select Alerts.
The message Data Flow Successfully Upgraded in Event History and the Status of the service changing from Upgrading to Good Health on the Environments page signal that the upgrade has ended. Depending on the number of running nodes in the cluster, the upgrade can take more than an hour to complete.
If you had restricted policies in place before the upgrade, run the
aws ec2 describe-volumes --profile <aws-profile> --query
                'Volumes[?Tags[?contains(Key,`kubernetes.io/cluster/liftie-`)] &&
                State==`available`].[VolumeId,State,Tags[?contains(Key,`kubernetes.io/cluster/liftie-`)].Key|[0]]'
command to confirm that no unused volumes were left behind.