Using Cloudera Base Connector

Use Cloudera Base Connector to establish and maintain a trusted link between your data applications running on Anywhere Cloud, for example, Cloudera Data Engineering, Cloudera AI, or Cloudera Workflow Orchestrator, and an existing Cloudera Base on premises environment.

You can use Cloudera Base Connector only if you have an existing Cloudera Base on premises environment. Cloudera Base Connector ensures seamless integration between the data application on Anywhere Cloud and an active Data Lake on Cloudera on premises to provide shared identity, governance, and uniform client configurations. Each data application deployment with Cloudera Base Connector establishes a single connection to the Cloudera Base on premises cluster.

Cloudera Base Connector uses the Cloudera Manager connection details, which you must provide when you deploy the data application from Marketplace in Anywhere Cloud.

Using these details, Cloudera Base Connector authenticates to Cloudera Manager on your Cloudera Base on premises cluster and retrieves the required client configurations for your data application, such as Hadoop, Hive, Spark, Kerberos and trust credentials. Cloudera Base Connector automatically updates these configurations when they change in Cloudera Manager, keeping your data applications on Anywhere Cloud aligned with the Cloudera Base on premises cluster.

Supported platforms

The following table summarizes the currently supported Cloudera Platforms:

Cloudera platform Anywhere Cloud 2.0 Comments
Cloudera on premises
  • 7.1.9
  • 7.3.2
Supported Production use for Cloudera Base Connector with Anywhere Cloud deployments.
Cloudera on cloud (AWS, Azure, GCP) Not supported

Deployment topologies

The following table summarizes the deployment topologies for Cloudera Base Connector:

Topology Support and behavior
One Cloudera Base Connector per data application Supported. Each data application deploys a single Cloudera Base Connector.
Multiple Cloudera Base Connectors with dedicated data applications in a shared Cloudera Service for Kubernetes (CSK) cluster Supported. You can deploy multiple data applications on the same cluster, each with its own dedicated Cloudera Base Connector.
One data application with multiple Cloudera Base Connectors Not supported.

Deploying a data application with Cloudera Base Connector

Deploy a Cloudera Base Connector with a data application from Marketplace.

The Cloudera Base on premises cluster and Cloudera Manager must meet the following requirements:
  • Cloudera Platform
    • Cloudera Base on premises cluster must be running and healthy.

    • Cloudera Manager must be configured to use HTTPS.

    • Cloudera Manager must be reachable from your Anywhere Cloud workload cluster over the network. Your firewall and DNS must allow HTTPS from the CSK cluster to the Cloudera Manager host. The port for Cloudera Manager is 7183.

    • If Cloudera Manager manages more than one Cloudera Base on premises cluster, you must identify and record the name of the cluster that you want to use for the data application connection.

  • Anywhere Cloud
    • A CSK workload cluster must be available with sufficient capacity for your selected Cloudera Base Connected blueprint.

  1. In Marketplace, select a data application blueprint that supports Cloudera Base Connector. On the blueprint details page, Cloudera Base Connector is listed in the Package Content section.
  2. During deployment, configure Cloudera Base Connector engine by providing the following Cloudera Manager details:
    • CM Base URL – The HTTPS base URL of Cloudera Manager, for example, https://cm.example.com:7183. Do not include a /api path.
    • CM Username and CM Password – The credentials of an account that can read cluster and client configurations from Cloudera Manager.
    • CM CA Bundle (base64) – The Base64-encoded PEM CA certificate bundle used to verify the Cloudera Manager TLS certificate.
    • CM Cluster Name – Optional. The name of the cluster. Required only if Cloudera Manager manages more than one cluster.
  3. Configure the remaining engine configurations required by the data application blueprint and start the deployment. After Cloudera Base Connector starts running, the initial synchronization with Cloudera Manager can take a few minutes.
  4. After the data application is running and healthy, confirm that the data application is connected to Cloudera Base on premises by submitting a job that reads from the Data Lake or by verifying identity integration. The confirmation method depends on the given data application.
You can deploy additional data applications with Cloudera Base Connector on the same cluster. Each deployment creates its own Cloudera Base Connector instance.

Managing the Cloudera Base Connector

Update credentials or remove connection after your data application is deployed with Cloudera Base Connector.

Troubleshooting

The following symptoms indicate an unsuccessful connection between Cloudera Base Connector and Cloudera Manager:

  • A Cloudera Base Connector instance that remains in a non-ready state for an extended period.

  • No successful synchronization with Cloudera Manager for more than 15 minutes.

  • Elevated error rates in Cloudera Manager.

Use the following table to diagnose and resolve Cloudera Base Connector deployment and connection issues:

Symptom Likely cause Resolution
Deployment with Cloudera Base Connector configurations fails immediately. A required parameter, such as URL, password, or CA bundle is missing or the Cloudera Manager URL format is invalid because it does not use non-HTTPS, or includes /api path. For an initial installation, correct the engine configuration and redeploy the data application.
Cloudera Base Connector deploys for a long time, then fails. Incorrect credentials, an invalid CA bundle, an incorrect cluster name, or an unreachable Cloudera Manager URL.

Verify the environment prerequisites with your Cloudera Platform administrator or check network connectivity from CSK to Cloudera Manager.

If an initial installation, update the engine configuration fields and redeploy. For active deployments, update cluster secrets as described in Updating Cloudera Base credentials after deployment.

A previously healthy Cloudera Base Connector instance was fails after a password policy change. An expired or rotated Cloudera Manager password. Update the password and, if applicable, the CA bundle in Kubernetes as described in Updating Cloudera Base credentials after deployment.
Cloudera Base Connector instance becomes unhealthy only during an outage. Cloudera Manager or the network is unavailable.

Restore network connectivity and Cloudera Manager availability. The Cloudera Base Connector instance recovers when Cloudera Manager is back.

If the credentials remain valid, no configuration changes are required.

The data application fails while Cloudera Base Connector is still deploying. A dependency timeout occurs during deployment. Resolve Cloudera Base Connector deployment errors first, then retry or complete the blueprint deployment per guidance.
The data application connects to the wrong cluster. Multiple clusters in Cloudera Manager, and the cluster name parameter is blank or incorrect. For an initial deployment, set the Cloudera Base on premises cluster namecorrectly before deployment. For a running deployment, coordinate with your platform administrator to update the target cluster name at Kubernetes cluster level.

Note

Record any error messages displayed in the Anywhere Cloud Console before contacting Cloudera Support.

Updating Cloudera Base credentials after deployment

Currently, editing Cloudera Base Connector configurations is not supported after the data application is deployed in Anywhere Cloud. However, when the Cloudera Manager password expires, the CA bundle changes, or credentials must be rotated for a running data application deployment, you can update the credentials directly in the Kubernetes cluster.

You must have cluster administrator permissions with Kubernetes access to the Cloudera Service for Kubernetes workload cluster.

  1. Sign in to the Cloudera Service for Kubernetes (CSK) cluster, where the Anywhere Cloud workload is running. For example through kubectl or cloud console workflow.
  2. In the namespace for the Cloudera Base Connector deployment, update the following Kubernetes resources:
    • Update the Cloudera Manager password or CA certificates in the secrets file that the Cloudera Base Connector uses
    • Update the custom resource of the Cloudera Base Connector.
  3. Wait approximately five minutes for the next synchronization cycle to complete.
Cloudera Base Connector re-authenticates to Cloudera Manager and resumes delivering updated client configuration to the data application without disrupting the running deployment.

Troubleshooting

Review the available resolutions when using the Cloudera Base Connector.

The following symptoms indicate an unsuccessful connection between Cloudera Base Connector and Cloudera Manager:

  • A Cloudera Base Connector instance that remains in a non-ready state for an extended period.
  • No successful synchronization with Cloudera Manager for more than 15 minutes.
  • Elevated error rates in Cloudera Manager.

Use the following table to diagnose and resolve Cloudera Base Connector deployment and connection issues:

Symptom Likely cause Resolution
Deployment with Cloudera Base Connector configurations fails immediately. A required parameter, such as URL, password, or CA bundle is missing or the Cloudera Manager URL format is invalid because it does not use non-HTTPS, or includes /api path. For an initial installation, correct the engine configuration and retry the deployment of the data application.
Cloudera Base Connector remains in the deploying state for an extended period and then fails. Incorrect credentials, an invalid CA bundle, an incorrect cluster name, or an unreachable Cloudera Manager URL.

Verify the environment prerequisites with your Cloudera Platform administrator or check network connectivity from CSK to Cloudera Manager.

If an initial installation, update the engine configuration fields and redeploy. For active deployments, update cluster secrets as described in Updating Cloudera Base credentials after deployment.

A previously healthy Cloudera Base Connector fails after a password policy change. An expired or rotated Cloudera Manager password. Update the password and, if applicable, the CA bundle in Kubernetes as described in Updating Cloudera Base credentials after deployment.
Cloudera Base Connector instance becomes unhealthy only during an outage. Cloudera Manager or the network is unavailable.

Restore network connectivity and Cloudera Manager availability. The Cloudera Base Connector instance recovers when Cloudera Manager is back.

If the credentials remain valid, no configuration changes are required.

The data application fails while Cloudera Base Connector is still deploying. A dependency timeout occurs during deployment. Resolve Cloudera Base Connector deployment errors first, then retry or complete the blueprint deployment per guidance.
The data application connects to the wrong cluster. Multiple clusters in Cloudera Manager, and the cluster name parameter is blank or incorrect. For an initial deployment, set the Cloudera Base on premises cluster namecorrectly before deployment. For a running deployment, coordinate with your platform administrator to update the target cluster name at Kubernetes cluster level.