Knox

Learn about the known issues in Knox, the impact or changes to the functionality, and the workaround in Cloudera Runtime 7.1.9 SP1 CHF 10.

Known issues identified in Cloudera Runtime 7.1.9 SP1 CHF 10

CDPD-76435: Default HTTP client timeout for Streams Messaging Manager requests may cause connection timeouts
Some Streams Messaging Manager requests, particularly those retrieving topic data, may take up to 30 seconds to complete, even when there are no connectivity issues. Since the default gateway timeout is set to 20 seconds, this can result in connection timeouts despite the system functioning as expected.

Increase the HTTP client and socket timeouts for Streams Messaging Manager services to 60 seconds. This prevents connection timeouts when the requests take longer than the default gateway timeout.

Follow these steps to configure the required properties for the SMM API and SMM UI services:

  1. In Cloudera Manager, select the Knox service.
  2. Go to Configuration.
  3. Find the Knox Simplified Topology Management - cdp-proxy property, and click to add the following lines:
    
             SMM-UI:replayBufferSize=512
             SMM-UI:httpclient.connectionTimeout=1m
             SMM-UI:client.socketTimeout=1m
             SMM-API:replayBufferSize=512
             SMM-API:httpclient.connectionTimeout=1m
             SMM-API:client.socketTimeout=1m
  4. Find the Knox Simplified Topology Management - cdp-proxy-api property, and click to add the following lines:
    
             SMM-API:replayBufferSize=512
             SMM-API:httpclient.connectionTimeout=1m
             SMM-API:client.socketTimeout=1m
  5. Find the Knox Simplified Topology Management - cdp-proxy-token property, and click to add the following lines:
    
             SMM-API:replayBufferSize=512
             SMM-API:httpclient.connectionTimeout=1m
             SMM-API:client.socketTimeout=1m
  6. Save your changes.
  7. Refresh the cluster.

Known issues identified before Cloudera Runtime 7.1.9 SP1 CHF 10

OPSAPS-74370: Save Alias - IDBroker command fails due to missing variable declaration
Users trying to create IDBroker aliases through the Cloudera Manager UI face issues in Cloudera Manager 7.13.1 using CDP 7.1.9.
The alias(es) can be created using the Knox CLI:
  1. ssh to Knox host.
  2. export KNOX_GATEWAY_DATA_DIR="/var/lib/knox/idbroker/data"; export KNOX_GATEWAY_CONF_DIR="/var/lib/knox/idbroker/conf"
  3. /opt/cloudera/parcels/CDH/lib/knox/bin/knoxcli.sh create-alias <ALIAS_NAME> --cluster <CLUSTER_NAME> --value <ALIAS_VALUE>
  4. Verify the addition using /opt/cloudera/parcels/CDH/lib/knox/bin/knoxcli.sh list-alias --cluster <CLUSTER_NAME>

For HA deployments, users must do it on every Knox hosts (whereas the Save Alias command applies the change to all hosts automatically).