You need to upgrade the Cloudera Streaming Analytics (CSA) 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 CSA version.
Ensure that the Flink and SQL Stream Builder services are stopped on your
cluster.
Go to your cluster in Cloudera Manager.
Select SQL Stream Builder from the list of
services.
In case you are upgrading to the latest CSA version that includes SQL Stream
Builder (SSB), you also must download the SSB 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.16.3-csa1.11.1.0-cdh7.1.9.0-387-52307275.jar
rm SQL_STREAM_BUILDER-1.16.3-csa1.11.1.0-cdh7.1.9.0-387-52307275.jar
Copy the new artifacts to the /opt/cloudera/csd folder.
Restart the Cloudera Manager Server with the following command:
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 CSA 1.7.0:
Due to the backend changes of SSB, after adding the new CSD, the SSB
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.
Deploying client configuration is needed as the Flink service becomes stale
after activation.
When upgrading from versions lower than CSA
1.7.0:
Delete the Streaming SQL Console role from your cluster.
Stop the SQL Stream Builder service using Actions > Stop next to the SQL Stream Builder service name.
Select the SQL Stream Builder service.
Select the Streaming SQL Console role.
Click Actions for Selected > Delete.
Update the Admin Database for the SSB service.
Click Actions > Update Admin Database next to the SQL Stream Builder service name.
Start the Flink service.
Click Actions > Start next to the Flink service name.
Start the SQL Stream Builder service.
Click Actions > Start next to the SQL Stream Builder service name.
Refresh your keytab in Streaming SQL Console.
Select SQL Stream Builder from the list of
services.
Click SQLStreamBuilder Console.
The Streaming SQL Console opens in a new
window.
Select your username on the left main menu of
Streaming SQL Console.
Click Manage keytab.
Provide your password again.
Click Refresh Keytab.
Update the value for the Project ID in case the Organization ID was
customized.
If a default organization ID was configured with a custom value in CSA 1.9.0
or in a lower version, the same value must be added to the default Project
ID after upgrading to CSA 1.11.2, because the Streaming SQL Engine will fail to start.