Adding SSB as a service
You need to use the Add Service wizard in Cloudera Manager to have the SQL Stream Builder (SSB) service on your cluster.
- Make sure that the SSB CSD file is in the
- Make sure that the CSA parcel is added to Cloudera Manager.
- Make sure that you have installed and configured the SSB databases correctly, and installed the required Java drivers as well.
- Check that the following components are installed on your cluster:
Mandatory components Optional components Flink Schema Registry Kafka Kudu Hive
- Open Cloudera Manager.
- On the Home screen, select the drop-down menu to the right of your cluster.
- Select Add Service.
From the list, select SQL Stream Builder as the type of
service, then click Continue.
The Add Service wizard launches.
Assign the SQL Stream Engine, Materialized View Engine, and SQL Stream Console
service roles to hosts, then click Continue.
You need to assign the service roles based on where you have created the databases, and where you have assigned the Flink and Kafka roles.
Connect the SSB service to a database.
Select MySQL, PostgreSQL or Oracle as the type of database.
Choose the host on which you want to add the database.
You must add the databases to the same host where you have assigned the service roles.
- Provide a name to the database.
- Provide the user and password of the created database.
Click Test connection.
- Select MySQL, PostgreSQL or Oracle as the type of database.
Review the changes needed for your service.
In case you are using MySQL or Oracle for Streaming SQL Console, and PostgreSQL for Materialized Views, you will be prompted to provide information about the database for Materialized View Engine. Provide the database hostname with the default port, your user and password in the Materialized View Engine fields.
- Click Continue and wait until the first run of the SSB service is completed.
Click Continue and then