Accessing Cloudera Harmony Catalog

After Cloudera Harmony Catalog deployment completes, the REST API endpoint URLs are displayed in the Anywhere Cloud Console. Use the external base URL as CATALOG_API for post-deployment REST calls and configure Iceberg REST clients and engines.

Cloudera Harmony Catalog exposes HTTPS endpoints that implement the Apache Iceberg REST Catalog specification. Compliant clients and engines use chcExternalRestApiEndpoint with /api/catalog appended. For interoperability details, see Cloudera Harmony Catalog overview. After you connect data services, configure Ranger on the Harmony Catalog Ranger service. See Granting Ranger access for Cloudera Harmony Catalog.

  1. In the Anywhere Cloud Console left navigation pane, click Apps.
  2. Under the Deployed Engines tab, locate your Cloudera Harmony Catalog instance using the search field.
    Each row displays the engine status, instance name, endpoints, engine type, blueprint name, version, cluster, infrastructure used, and deployment status.
    A successful deployment is displayed under the Engine Status column as Running. If the status is Deploying..., wait until deployment finishes. If the status is Failed, resolve the failure before you continue.
  3. Open the instance details.

    On the instance Overview page (also reachable from the Anywhere Cloud Console Apps home), the Endpoints section lists three entries for this deployment:

    • chcExternalRestApiEndpoint: External HTTPS base URL for clients and engines outside the cluster. Use this value as https://<your-harmony-catalog-api-host> for post-deployment REST calls and when you configure engines. The path does not include /api/catalog or /api/management; append those segments for catalog and management API requests. Use Copy to copy the base URL.
    • chcInternalRestApiEndpoint: Internal HTTP base URL for in-cluster service-to-service access to the Iceberg REST catalog. Use this address for services that run inside Anywhere Cloud.
    • chcApiExplorer: OpenAPI explorer UI in the browser for the REST APIs. The console lists this entry as type Landing Page. Open the link to browse operations and schemas; the URL ends with /docs/ on the same host as chcExternalRestApiEndpoint. Download the OpenAPI document from that page and import it into Postman or another HTTP client.
  4. Optional: Use parameters to manually configure services.

    Use these endpoints only when you manually connect other services to the catalog and when Cloudera Harmony Catalog is not declared as a dependency engine in the blueprint for that service. For example, when you set iceberg.catalog.uri or another engine catalog URL parameter. Use chcExternalRestApiEndpoint with https for services outside Anywhere Cloud. Use chcInternalRestApiEndpoint with http for services that run inside Anywhere Cloud.

    Configure each engine at the deployed catalog with the following Iceberg REST properties. Set iceberg.catalog.uri to the chcExternalRestApiEndpoint URL from Endpoints, appended with /api/catalog/. Set iceberg.catalog.warehouse to the warehouse name you configured, for example harmony-catalog.

    Table 1. Iceberg REST catalog properties
    Property Value
    iceberg.catalog.type rest
    iceberg.catalog.uri Catalog endpoint for this instance, with /api/catalog/ appended.

To call the REST APIs from the CLI, authenticate with Knox. See Authenticating to Cloudera Harmony Catalog REST APIs with Knox.

If you create additional catalogs through the management API, configure Ranger policies first. See Creating Ranger policies for additional catalogs.

To create catalogs, namespaces, and tables after deployment, see Creating catalogs, namespaces, and tables on Cloudera Harmony Catalog. For namespaces and tables, Cloudera Data Engineering and Cloudera Lakehouse Engine are the typical first approach.