Enabling Knox for SSB in CDP Private Cloud Base 7.1.8
When using SQL Stream Builder (SSB) on CDP Private Cloud Base 7.1.8, the Auto
Discovery feature of Knox is not supported for SQL Stream Builder (SSB), but the SSB service
definitions are already added to Knox. This means you only need to add SSB as a custom
service to the cdp-proxy configuration, and define the Knox proxy paths for SSB in Cloudera
Manager to enable Knox authentication for SSB.
Go to your cluster in Cloudera Manager.
Click on Knox from the list of Services.
Select Configuration.
Search for Knox Simplified Topology Management.
Add the following entries to the Knox Simplified Topology Management -
cdp-proxy:
Without Load
Balancer
SSB-SSE-UI
SSB-SSE-WS
With Load
Balancer
SSB-SSE-UI-LB
SSB-SSE-WS-LB
Add the following entries to the Knox Simplified Topology Management -
cdp-proxy-api:
Without Load Balancer
SSB-MVE-API
With Load Balancer
SSB-MVE-API-LB
The Knox Simplified Topology Management need to look like the following
example:
Click Save changes.
The Refresh needed indicator appears beside the Knox service name.
Refresh Knox.
Go back to your cluster in Cloudera Manager.
Click on SQL Stream Builder from the list of
Services.
Select Configuration.
Search for Knox proxy path for YARN.
Add the following URL path:
/gateway/cdp-proxy/yarnuiv2/proxy
Search for Knox proxy path for Materialized View Engine.
Add the following URL path:
/gateway/cdp-proxy-api/ssb-mve-api
Restart the SQL Stream Builder service.
Complete the steps in Accessing the Steaming SQL
Console through Knox section to open the Streaming SQL Console.