Upgrading Cloudera Streaming Analytics artifacts and services
You need to upgrade the Cloudera Streaming Analytics artifacts to the newer
version by manually deleting the old CSD file from the repository, and adding the latest CSD
file to the same location.
Review the Support Matrix page to ensure that you use the
correct Operating System (OS), Java Development Kit (JDK) and database version
that is compatible with the new Cloudera Streaming Analytics version.
Ensure that the Flink and Cloudera SQL Stream Builder services are stopped on your
cluster.
Go to your cluster in Cloudera Manager.
Select Cloudera SQL Stream Builder from the list of
services.
Click Action > Stop.
Go back to the homepage of Cloudera Manager.
Select Flink from the list of services.
Click Action > Stop.
Stop and remove any Load Balancer instances from the cluster.
Go to your cluster in Cloudera Manager.
Select Cloudera SQL Stream Builder from the list of services.
Click Instances.
If there's an instance with Load Balancer role, select it and click Actions for Selected > Delete.
In case you are upgrading to the latest Cloudera Streaming Analytics version that includes Cloudera SQL Stream Builder, you also must download the Cloudera SQL Stream Builder CSD, and add it to the
/opt/cloudera/csd folder with the new Flink CSD. For more
information, see the Installing parcel and CSD
documentation.
Delete the old CSD version from /opt/cloudera/csd.
Access the host where the CSD is stored.
ssh root@[***HOSTNAME***]
cd /opt/cloudera/csd
rm FLINK-1.19.1-csa1.13.1.0-57746039.jar
rm SQL_STREAM_BUILDER-1.19.1-csa1.13.1.0-57746039.jar
Copy the new artifacts to the /opt/cloudera/csd folder.
Restart the Cloudera Manager Server with the following command:
RHEL 8 Compatible, SLES 15, Ubuntu:
systemctl restart cloudera-scm-server
RHEL 7 Compatible, SLES 12, Ubuntu:
systemctl restart cloudera-scm-server
RHEL 6 Compatible:
service cloudera-scm-server restart
Restart the Cloudera Management Services.
When upgrading from versions lower than Cloudera Streaming Analytics 1.7.0:
Due to the backend changes of Cloudera SQL Stream Builder, after adding the new CSD, the Cloudera SQL Stream Builder
service will not work which is indicated in the list of services in
the following way: The following error message is displayed when reviewing the
configuration issue: This means that you need to manually remove the Streaming SQL
Console role, and restart the Streaming SQL Engine role after
activating the new parcel.
Select Parcels on the Home > Hosts tab in the Cloudera Manager main navigation bar.
Click on Parcel Repositories & Network Settings
tab.