Cloudera Harmony Catalog error reference
The Cloudera Harmony Catalog error reference lists the error codes and messages that the catalog returns, with the HTTP status, a description, and a recommended action for each.
This guide lists the error codes and messages of Cloudera Harmony Catalog, with a description and a recommended action for each message.
Layout of the Cloudera Harmony Catalog error table
The Error code column shows the HTTP status code. Where a message has no HTTP status, the column shows None, followed by what happens instead, for example None (startup abort).
The Error message column shows the message text. Text in angle brackets, such as <name>, stands for a value that varies. Where the column describes a message instead of quoting it, for example <provider message>, the text comes from another component, such as the object store or Kubernetes.
Cloudera Harmony Catalog error messages
The following table lists the Cloudera Harmony Catalog error codes and messages:
| Error code | Error message | Description | Recommended action |
|---|---|---|---|
| 401 | HTTP 401 Unauthorized, header 'WWW-Authenticate: Polaris' (no message body) |
No trusted identity is present on the request. The Anywhere Cloud gateway or mesh injects the identity: the Knox user as x-awc-username and the workload SPIFFE ID as x-awc-source-workload-id. In this mode, the server never reads Authorization tokens, and the response contains no explanation. |
|
| 500 | <exception message>; body: {error:{message,type,code:500}} |
The REST layer returns the raw exception message and class name without a Cloudera Harmony Catalog error code or remediation. | Check the server ERROR log for 'Unhandled exception returning INTERNAL_SERVER_ERROR' and the stack trace. To view the log, run kubectl logs <pod> -c harmony-catalog. |
| None (listener inert) | The audit-gateway event listener is enabled but its configuration is not usable, so no audit events will be sent | The audit gateway endpoint must be an http(s) URL | retry.max-queue-size must be at least 1 | circuit-breaker.failure-threshold must be at least 1 | <name> must be a positive duration | fallback.max-lines-per-minute must be at least 1 |
A setting of the audit-gateway event listener failed validation. The server stays up but sends no audit events. | Fix the property that the stack trace below the message names. The endpoint must start with http:// or https://. |
| None (event goes to fallback log) | audit_fallback {reason:'unavailable'} | audit_fallback {reason:'queue_full'} | Audit delivery failed unexpectedly; writing the event to the fallback | {"audit_fallback_suppressed":N} |
Audit events cannot be delivered within the maximum age (unavailable), the in-memory queue is full (queue_full), or the delivery worker encounters an unexpected error. Fallback lines are rate-limited. | Restore gateway reachability and replay the audit_fallback lines. If bursts are expected, increase retry.max-queue-size. If _suppressed is displayed, the fallback rate limit is reached. In this case, raise fallback.max-lines-per-minute. |
| 503 (health DOWN) | the listener is enabled but not running; see the startup log | DOWN with {queueSize, maxQueueSize, oldestAgeSeconds, breakerOpen:true|false} when the circuit breaker is open, the queue is full or the delivery worker is closed |
The audit-gateway listener did not start because of an invalid configuration, or the gateway is failing or unreachable and the circuit breaker is open or the queue is full. | Read the startup log for audit-gateway event listener is enabled but .... If breakerOpen=true, check the audit gateway pod and URL, and the TLS and SPIFFE identity. In the meantime, events are written to the fallback log as 'audit_fallback'. |
| 503 (health DOWN) | object-storage DOWN {configured:true, endpoint:<host:port>, error:<IOException message e.g. 'Connection refused' | 'connect timed out' | 'Unresolved address'>} |
The server cannot open a TCP connection to the storage proxy within 2 seconds. The result is cached for 10 seconds. | Verify that the proxinator pod in the abs namespace is running by using kubectl -n abs get pods. Verify that the endpoint host resolves from the Cloudera Harmony Catalog pod and that no NetworkPolicy blocks the port. Then, check the health again. |
| 503 (readiness DOWN) | the Ranger authorizer is not initialised | <exception message> |
The Ranger plugin fails to start, so the pod is held in a not-ready state. Possible causes are that no policies are downloaded, the service is not registered or the configuration is invalid. | Check the pod log for 'Failed to initialize RangerPolarisAuthorizer'. Verify the Ranger admin URL. Verify that the udf_harmony_catalog_<instance> service exists, which means that the ranger-onboard job completed, and that the SPIFFE ID of the server is in policy.download.auth.users. |
| 403 | <cloud provider message containing 'Access Denied' | 'not authorized' | 'Forbidden'> |
The storage backend rejects a read or write that the server issues on behalf of the request. | Check the storage grant (S3KeyGrant) for the bound dataset and the Ranger or Raz policy for the path. Verify that the bucket of the catalog is the bucket granted to Cloudera Harmony Catalog. |
| 500 (unmapped) / 400 / 404 / 409 / 422 / 429 / 502 / 503 mapped from exception or cloud status | <exception message verbatim> — mapping: NoSuch*→404; AlreadyExists/CommitFailed/NamespaceNotEmpty→409; Forbidden→403; NotAuthorized→401; Validation/IllegalArgument→400; UnsupportedOperation→406; Timeout→408; cloud 3xx→422; cloud 5xx→502; ServiceUnavailable/RuntimeIO→503; other→500 |
The server returns the raw exception text. For unmapped exceptions, the type is the Java class name and the message might be a stack-trace style string. | Record the request time and the type value in the JSON error and check the pod logs for 'Unhandled exception returning INTERNAL_SERVER_ERROR'. Retry 5xx errors. Resolve the request for 4xx errors. |
| 409 | Cannot commit: stale table metadata | Cannot commit to table <id> metadata location from <old> to <new> because it has been concurrently modified to <existing> | Cannot commit: stale view metadata | Transaction commit failed with status: <status>, extraInfo: <info> |
Another client changed the table between the read and the commit of this client. This is an optimistic concurrency conflict. | Retry the operation. Iceberg clients retry automatically. For hot tables, reduce concurrent writers or batch commits. If failures are constant, verify that no stuck job holds an old snapshot and that clients refresh before committing. |
| 400 | If-None-Match may not take the value of '*' | Please specify a warehouse |
The server does not accept the request header or parameter. | Send an ETag value in If-None-Match, not *. Pass warehouse=<catalog name> on GET /v1/config. Clients use the warehouse property. |
| 400 | Invalid JSON: <parser message> | Invalid value: <message> |
The request body cannot be parsed or a field fails validation. | Validate the body against the Iceberg REST API spec at /docs/. Check required fields, types, and JSON syntax, and ensure that Content-Type is application/json. |
| 409 | Namespace <ns> is not empty |
The namespace is not empty. DROP NAMESPACE works only on empty namespaces. | List and drop the tables, views, and child namespaces first and drop the namespace. To also remove the data, use DROP TABLE ... PURGE. |
| 404 / 405 (route not served) | POST /api/catalog/v1/oauth/tokens → no handler (DisabledOAuth2ApiService); POST .../tables/{table}/notifications → no handler (no Polaris message body) |
The Iceberg OAuth2 token endpoint and notifications are not offered because the platform performs authentication through Knox or trusted headers. | Send a Knox bearer token (Authorization: Bearer <token>), and set token or credential = none, in the Iceberg REST client config. Do not configure oauth2-server-uri or credential exchange. Notifications are not supported. |
| 404 | Table does not exist: <namespace.table> | View does not exist: <namespace.view> | Generic table does not exist: <identifier> |
The table or view is not in the catalog that receives the request. | Check the spelling and case of the namespace and table. Confirm that the catalog name in the client config, the warehouse or URI prefix, matches the catalog that holds the table. To list tables, use GET /api/catalog/v1/<catalog>/namespaces/<ns>/tables. If another engine just created the table, confirm that the table was created in this catalog, not the default one. A table that the caller has no permission to see is reported as 404 or 403, depending on the Ranger policy. Check the Ranger table-list and table-metadata-read access for the user. |
| 403 | Principal '<principal>' is not authorized for op '<OPERATION_NAME>' |
Ranger evaluates the request and returns deny. Harmony Catalog is default-deny, so nothing is allowed until a policy in the Ranger service for this instance grants it. The message does not identify the resource or access type that was checked. |
|
| None (pod fails to start) | Failed to initialize RangerPolarisAuthorizer |
The Ranger plugin cannot initialize. Only the exception cause and the logs contain the reason. The top-level message gives no hint. | Check the pod logs for the wrapped cause. Verify the polaris.authorization.ranger.authz.default.policy.rest.url value, which is the Ranger Admin URL. Verify that Ranger Admin is up and trusted (TLS, forceSecureEndpointAccess=true), that the udf_harmony_catalog_<instance-name> service exists, and that policy.cache.dir (/tmp/ranger/polaris/policy-cache) is writable. |
| None (pod fails to start) | serviceName is not defined for ranger authorizer |
Startup validation finds no Ranger service name in polaris.authorization.ranger.service-name. The authorizer cannot be created, and the pod does not become ready. | Set polaris.authorization.ranger.service-name to the Ranger service for this instance, which is typically udf_harmony_catalog_<instance-name> as rendered by engine.yaml. Check the deployed ConfigMap and environment variables, and verify that the Ranger dependency is resolved. After you resolve the issue, redeploy. |
503 on /q/health/ready |
ranger: DOWN {configured=true, error="the Ranger authorizer is not initialised"} |
Ranger is the selected authorizer but is not initialized, so the pod is marked not-ready and receives no traffic. | Perform the steps for 'Failed to initialize RangerPolarisAuthorizer': check the pod logs, the Ranger Admin URL and TLS, the service name, and the policy cache directory. |
| None (exit code non-zero) | Bootstrapping '<realm>' failed: <return-status> followed by: Bootstrap encountered errors during operation. |
The realm cannot be initialized. Possible causes are an unreachable database, a schema problem, or a permissions problem. | Check the logs of the <name>-bootstrap-<hash> Job and the database connection, including the secret, network, and schema. Fix the issue and rerun the Job. Bootstrap is idempotent, and Realm <x> is already bootstrapped; skipping. is not an error. |
| 503 on health endpoint | object-storage DOWN {configured=true, endpoint=<host:port>, error=<connect exception message>} |
The server cannot reach the storage proxy that it requires to vend credentials and to read and write table data. The pod might be marked not ready. | Verify that the storage proxy service named in endpoint is running and reachable from the pod, including DNS, NetworkPolicy, and the mesh sidecar. Verify that the storage grant is Ready. The check retries about every 10 seconds. |
| 403 | Principal '<principal>' with activated PrincipalRoles '<roles>' and activated grants via '<roles>' is not authorized for op <OPERATION> |
The authorizer denies the management operation. With Ranger, no allow policy covers the user or operation. | Add a Ranger policy on the udf_harmony_catalog_<instance> service. For catalog creation, use the catalog-create access type on the root (*) resource. Wait 30 to 60 seconds for policy propagation and retry. |
| 400 | External catalogs are currently disabled |
Federated (EXTERNAL) catalogs are switched off in this build. Only INTERNAL catalogs can be created. | Create the catalog with type: INTERNAL and the 'harmony-catalog.storage.proxinator.bucket' property. Federation to another catalog is not available in this release. If you require federation, contact your administrator. |
| 500 | Proxinator storage is not provisioned: missing 'endpoint' in the ABS credential directory. |
Managed storage is active, but the S3-proxy endpoint that the storage operator is expected to provision for this instance is absent. The storage of the catalog cannot be built. | Verify that the storage grant or S3KeyGrant for this instance is Ready in the storage operator in the abs namespace, and that the secret mounted at /deployments/abs-credentials contains endpoint. After the grant is Ready, redeploy or restart the pod. This 500 error is a platform-side problem, not a request problem. Contact the administrator. |
| 500 | Proxinator storage is not provisioned: no harmony-catalog.storage.proxinator.buckets.<purpose> is configured. Bind the engine's 'default-warehouse' s3Storage purpose to an app-bucket; the blueprint renders that bucket into harmony-catalog.storage.proxinator.buckets.default-warehouse. |
Managed storage is turned on for the instance, but no bucket is bound to it, so no catalog can be created. | On the Storage tab of the deploy page, bind the required default-warehouse slot to a bucket and redeploy. After rollout, verify that the pod has the harmony-catalog.storage.proxinator.buckets.default-warehouse property. Retry catalog creation only after that. |
| 400 | Unknown bucket '<bucket>'; granted buckets: <bucket-list> |
The bucket in 'harmony-catalog.storage.proxinator.bucket' is not one of the buckets granted to this catalog instance. Possible causes are a typo, a different environment, or a bucket that is not yet bound. | Copy a bucket name exactly from the granted buckets list in the message. To use another bucket, bind it to a storage slot, warehouse-2 or warehouse-3, on the Storage tab of the engine, redeploy and retry. Bucket names are case-sensitive. Do not include 's3://'. |
| None (startup abort) | Severe production readiness issues detected, startup aborted! |
A severe unsafe setting is configured, so the pod exits with CrashLoopBackOff. | In the pod log, find the lines just above this message that contain ***STOP*** and the Offending configuration option. Fix those options. For non-production environments only, set polaris.readiness.ignore-severe-issues=true. |
| None | <ace-operator text> dependency 'ranger' (udf-plugin) minimum version 2.0.0-b.147 not satisfied |
The Cloudera Unified Data Fabric dependency for Ranger does not meet the minimum version 2.0.0-b.147. Cloudera Harmony Catalog requires a running Cloudera Unified Data Fabric instance for Ranger authorization, audit, and onboarding. | Deploy or upgrade Cloudera Unified Data Fabric to 2.0.0-b.147 or higher in the same cluster. Then, deploy Cloudera Harmony Catalog and select Cloudera Unified Data Fabric as the ranger dependency. |
| None | <admission webhook text> (instance refused: required storage slot 'default-warehouse' is not bound) |
The instance is rejected because the required default-warehouse storage slot is not bound. Cloudera Harmony Catalog requires a dataset bound to default-warehouse to hold the default catalog and to provision S3 credentials. | On the deploy page, open the Storage tab and bind a registered dataset to default-warehouse with read, write, list, and delete permissions. The warehouse-2 and warehouse-3 slots are optional. If no dataset is registered, register one first. |
| None | Condition apps/v1/Deployment.<name> expression false (availableReplicas != replicas) |
One or more pods are not Ready. Possible causes are a pod waiting in bootstrap-gate, a failing image pull, OOMKilled, or a failing readiness probe (GET /q/health/ready :8182). |
Run kubectl get pods -n <ns> and kubectl describe pod. Run kubectl logs <pod> with -c bootstrap-gate and with -c harmony-catalog. For OOMKilled, raise memoryLimit. For ImagePullBackOff, check registry access. If the readiness probe fails, check Postgres and Ranger connectivity in the server logs. |
| None | Condition batch/v1/Job.<name>-bootstrap-<hash> not Complete (status False) |
The metastore schema and root principal are not seeded. Server pods wait in the bootstrap-gate and never start. | Run kubectl get jobs -n <ns> and kubectl logs job/<name>-bootstrap-<hash> -c wait-for-pg|generate-bootstrap-credential|bootstrap. Verify that the harmonyCatalogDb Postgres EngineInstance is Ready. After a template change without a new build, delete the old Job so that a new Job is created. |
| None | Condition batch/v1/Job.<name>-catalog-bootstrap-<hash> not Complete |
The default catalog does not exist yet, so consumers are not notified about this Cloudera Harmony Catalog. | Run kubectl logs job/<name>-catalog-bootstrap-<hash>. On a fresh deploy, allow up to about 10 minutes for Ranger policy propagation and STS keys. If the Job takes longer, see the Not ready (HTTP <code>) and not created within 30 minutes entries. |
| None | Condition batch/v1/Job.<name>-ranger-onboard-<hash> not Complete |
The Ranger service udf_harmony_catalog_<name>, the SPIFFE identity, and the default policy of the instance are not registered. Policy download fails, every request returns 403, and no default catalog can be created. | Run kubectl logs job/<name>-ranger-onboard-<hash>. Verify that Cloudera Unified Data Fabric is Ready and that its udf-onboarding-service is running. A 403 usually means that the caller SPIFFE ID is not in <udf>-onboarding-allowed-principals, which ace-operator builds from the service account of the consumer. If the Job is Failed (terminal), delete it so that it is recreated. To check onboarding, run kubectl get cm -n <udf-ns>. |
| 400 | <server message: bucket not in granted list> |
The bucket is not in the granted list. The server validates the bucket against the slots bound on the Storage tab. | Use the real bucket name of a dataset bound to default-warehouse, warehouse-2, or warehouse-3. To find the bucket names, run kubectl get engineinstance <name> -o jsonpath='{.spec.s3Storage}'. If required, bind another dataset. |
| 400 | <server message: client-supplied storage configuration is not allowed for managed catalogs> |
Storage is server-managed for managed catalogs. On create, the client can only name the bucket. | On create, send only type, name, and properties.harmony-catalog.storage.proxinator.bucket. On update, remove storageConfigInfo, default-base-location, and the bucket property before sending. For client-owned storage, use an EXTERNAL catalog. |
| 500 | Proxinator storage is not provisioned |
The STS role, endpoint, and region values from abs-operator are not yet in the credential Secret, although the server is Ready. | Wait about 10 minutes after deployment and run kubectl exec deploy/<name> -c harmony-catalog -- ls /deployments/abs-credentials. Expect sts_endpoint, sts_region, and sts_role_arn in the output. Ensure that stsIssuer.enabled is true and that a dataset is bound to default-warehouse. |
| 403 | 403 Forbidden |
The identity is known, but Ranger has no policy that grants the access type on the resource (root, catalog, namespace, or table). Newly added policies take about 30 to 60 seconds to apply. | Add or extend a Ranger policy on the udf_harmony_catalog_<name> service, including all ancestor resources. Wait about 60 seconds and retry. For catalog creation, grant catalog-create on root only (catalog=*) for the creating identity. |
| 403 | 403 Forbidden on all requests; server log: policy download failed |
Ranger does not accept the SPIFFE ID of the server pod for policy or tag download, or the per-instance Ranger service is missing. No policies are available. | Run GET /service/public/v2/api/service/name/udf_harmony_catalog_<name> on Ranger Admin. Verify that policy.download.auth.users, tag.download.auth.users, and service.account.users equal spiffe://default-mesh/ns/<ns>/sa/harmony-catalog. To register the service again, delete the ranger-onboard Job so that it reruns, or use the Ranger API. For more information, see Registering the Ranger Service in the README. |
| 401 | 401 Unauthorized |
The server cannot determine the caller identity and fails closed. | Call through the mesh or ingress so that Knox or the principal injector stamps the headers. Do not send tokens directly to the pod. For a quick check, run curl /api/management/v1/catalogs with the header 'x-awc-username: <user>' through port-forward. |
| 403 (S3 request) | S3 Error: 403 Forbidden (AccessDenied) |
Ranger authorizes the catalog operation, but ABS authorizes the object. The dataset binding or grants are missing or insufficient. | Check the s3Storage grants of the instance and the read, write, list, and delete permissions of the bound dataset. Verify that the table location is under a granted bucket. |
| None | ERROR: Bootstrap not detected within 600s (progress lines: Bootstrap not yet complete (<s>s/600s)...) |
The metastore bootstrap Job is not finished or has failed, so the server is held back by design. | Run kubectl get jobs and kubectl logs job/<name>-bootstrap-<hash>. Fix the bootstrap Job first. For more information, see the bootstrap Job condition entries. The pod retries on restart. On success, the Bootstrap detected (<s>s). line is displayed. |
| None | ERROR: PostgreSQL not ready after 120s |
PostgreSQL is not ready. The harmonyCatalogDb CNPG cluster of three instances is not up, the credentials are invalid, or SSL (sslmode=require) is failing. | Run kubectl get cluster and kubectl get pods in the postgres namespace, and run kubectl logs <job-pod> -c wait-for-pg. Confirm that the <name>-db-<owner> Secret exists and that the postgres EngineInstance is Ready. |
| None | ERROR: catalog '<CATALOG_NAME>' not created within 30 minutes |
Within 30 minutes, the Ranger policy does not arrive (403), the STS values are not displayed (500), or the server does not become reachable. | Check the last Not ready (HTTP <code>) line to identify the cause. For 403, check the ranger-onboard Job and the Ranger policy. For 500, check stsIssuer.enabled on the EngineInstance and a bound default-warehouse dataset, and wait for the sts_* files in /deployments/abs-credentials. After you resolve the issue, delete the failed Job so that it is recreated. |
| 400|404|415|other | ERROR: catalog creation failed (HTTP <CODE>): <response body> |
Catalog creation fails with a non-retryable error. For example, a 400 error indicates that the default-warehouse bucket name is not in the granted bucket list of the server or that the catalog name is invalid. A 404 error indicates an incorrect realm or path. | Read the response body printed after the message. For 400 bucket not granted, confirm that a dataset is bound to default-warehouse and that BUCKET matches harmony-catalog.storage.proxinator.buckets.default-warehouse. The Job restarts with backoffLimit 6. Fix the cause, and delete the Job to retry immediately. |
| 000|401|403|5xx | Not ready (HTTP <CODE>), retrying... |
The Job is waiting for the server, and the HTTP code identifies the cause. The causes are 000 for an unreachable server (not Ready or mesh not up), 401 for no stamped identity header (mesh or waypoint not ready), 403 for the harmony-catalog-default-catalog-create Ranger policy not yet downloaded (about 60 seconds after onboarding), and 500 for STS values not yet in the ABS credential mount (about 10 minutes after a fresh deploy, Proxinator storage is not provisioned). | Wait up to 10 minutes, because this message is expected during that period. If the message persists, take the action for the HTTP code: - 403: Confirm that the ranger-onboard Job completed and that the policy exists on the udf_harmony_catalog_<name> service for - 401: Check the AuthConfig default and the ambient mesh and waypoint. - 500: Run ls - 000: Check that the server pods are Ready, and check the Service. |
| 403 / 502 / 500 | <AWS SDK message, e.g. User: ... is not authorized to perform: sts:AssumeRole on resource: <role>> |
STS cannot issue scoped credentials for the table. | Check the 'sts_endpoint' and 'sts_role_arn' files. Confirm that the proxinator STS issuer is working and that the trust policy allows Cloudera Harmony Catalog. The access denied text maps to 403. |
| 503 | object-storage: DOWN, data.error=<connect error message, e.g. Connection refused / connect timed out / UnknownHost>, data.endpoint=<host:port> |
The proxinator S3 endpoint is unreachable from the Cloudera Harmony Catalog pod. The credentials or endpoint file might be stale or proxinator might be down. | Check the endpoint in /deployments/abs-credentials/endpoint. Check the proxinator pod in the abs namespace. Check the network policy and mesh membership, and verify that the bucket binding is Ready. The pod stays unready until the endpoint is reachable. |
| 500 | Proxinator storage is not provisioned: missing 'endpoint' in the ABS credential directory. |
The ABS operator has not published the proxinator S3 endpoint to the credential mount yet. | Wait 1 to 2 minutes after deployment or binding and retry. The catalog-bootstrap Job of the engine retries 5xx errors for about 30 minutes. If the problem happens again, run kubectl -n <ns> get s3dataset,s3keygrant, which requires admin access. Check the abs-operator logs in the abs namespace, and confirm that the pod has the abs-credentials volume by running kubectl describe pod. |
| 500 | Proxinator storage is not provisioned: missing 'sts_role_arn' in the ABS credential directory. |
ABS has not yet published the STS role that mints scoped credentials. | Wait about 10 minutes, because STS values join the mount after the issuer is ready and retry. The catalog-bootstrap Job retries automatically. If the problem happens again, verify that the STS or credential issuer of the engine is deployed and that the S3KeyGrant for the bound bucket is Ready. Check the abs-operator logs. |
| 500 | Proxinator storage is not provisioned: no harmony-catalog.storage.proxinator.buckets.<purpose> is configured. Bind the engine's 'default-warehouse' s3Storage purpose to an app-bucket; the blueprint renders that bucket into harmony-catalog.storage.proxinator.buckets.default-warehouse. |
The server has no object-storage bucket for catalogs because the default-warehouse storage slot is not bound to a bucket in the deployment. |
|
| 403 | <provider message, e.g. software.amazon.awssdk.services.s3.model.S3Exception: Access Denied (Service: S3, Status Code: 403)> |
The object store denies the access, although Ranger already allows the operation. ABS or proxinator denies the object. Possible causes are an unbound bucket, an S3KeyGrant that is not Ready, or an incorrect role. |
|
| None (logged; request succeeds) | Atlas write for <context> failed on attempt <n> (<HTTP <status>: <body> | <IOException>: <msg>); retrying in <ms>ms | Atlas write for <context> abandoned: <REASON> after <n> attempt(s) in <ms>ms. Last failure: <failure> | Atlas write abandoned [<reason>] for <context>; dead-lettered to <file> | Atlas write abandoned [<reason>] for <context>. Configure polaris.event-listener.atlas.dead-letter.directory to persist payloads for replay. Payload: <json> | Atlas write abandoned ... and writing it to the dead-letter directory <dir> also failed. Payload: <json> |
The metadata for this change is not recorded in Atlas. The catalog operation itself succeeds. | Check the Atlas hook URL, and verify that the pod can reach it through the NetworkPolicy and mesh. A 401 or 403 status indicates a credentials problem. A 4xx NOT_RETRYABLE status indicates that the payload was rejected. Configure the dead-letter directory with a PVC path so that payloads persist and can be replayed after the Atlas issue is resolved. |
| None (listener inert) | The Atlas event listener is enabled but polaris.event-listener.atlas.cluster-name is not set, so no metadata would be mirrored. Set it to a value that is stable and unique per deployment, for example polaris-prod. It forms part of every qualifiedName, so changing it later orphans every entity already in Atlas. | The Atlas cluster name has leading or trailing whitespace ... Got: '<name>' | The Atlas cluster name must not contain '@' or '/' ... Got: <name> |
The Atlas cluster name is missing or invalid. The cluster name is part of the Atlas entity identity, so it must be set, trimmed, and free of @ and /. |
Set cluster-name, the Cluster Name field on the deploy form, to a stable, unique value without spaces, @, or /. Do not change the value after entities exist. |
| None (listener inert) ; production-readiness check = SEVERE | The Atlas event listener is enabled but polaris.event-listener.atlas.notification-rest-endpoint is not set, so no metadata will be mirrored to Atlas. Set it to the base URL of the Atlas hook notification webapp, for example http://localhost:21001. |
The Atlas URL is not set, so no metadata is mirrored to Atlas. | Set the property to the base URL of the Atlas hook notification webapp or publish the atlas-hook capability so that the engine renders it. In Anywhere Cloud, check atlasIntegrationEnabled and verify that the Atlas capability exists. |
| None (listener inert) | The audit-gateway event listener is enabled but cannot tell which service it is, so no audit events will be sent. Set polaris.event-listener.audit-gateway.source-system, or pod-namespace and pod-service-account (the deployment fills these in from the Kubernetes Downward API: metadata.namespace and spec.serviceAccountName). |
Audit events require a service identity (system:serviceaccount:<ns>:<sa>), and the listener cannot derive one. | Set source-system or ensure that the Downward API environment variables for the pod namespace and service account are present in the Deployment. |
| 409 | Cannot create namespace <ns>. Namespace already exists | Table already exists: <id> | View already exists: <id> | Generic table already exists: <id> | Table with same name already exists: <id> | Cannot rename <from> to <to>. <Table|View|Object> already exists |
An object with this name already exists in the namespace. Tables and views share one name space. | Choose a different name or use create if not exists semantics in the client. Load the existing object to confirm that it is the expected object. To replace a table, drop it first or use register-table with overwrite=true, which is available for internal catalogs only. |
| 404 | Namespace does not exist: <namespace> | Cannot create namespace <ns>. Parent namespace does not exist. | Cannot create table '<table>'. Namespace does not exist: '<ns>' | Cannot list tables for namespace. Namespace does not exist: '<ns>' | Cannot rename <from> to <to>. Namespace does not exist: <ns> |
The namespace or its parent namespace does not exist. Cloudera Harmony Catalog does not create parent namespaces implicitly. | Create the parent namespaces first, one level at a time. For example, send POST /api/catalog/v1/<catalog>/namespaces with {namespace:[a]} and with [a,b]. Check the namespace separator. Multi-level namespaces in the URL use %1F, not .. |
| 409 | Cannot create Catalog <name>. Catalog already exists or resolution failed |
A catalog with this name already exists or the create request lost a race or cannot be resolved. | Run GET /api/management/v1/catalogs/<name> to confirm. Use a different name or delete the existing catalog first. DELETE removes metadata, so confirm that the catalog contains no tables that you require. The onboarding Job treats this 409 as success for the default catalog. |
| 400 | Internal catalogs require the 'harmony-catalog.storage.proxinator.bucket' property naming which granted bucket to use; granted buckets: <bucket-list> |
The INTERNAL catalog create request does not name the storage bucket for the catalog. The server never selects a bucket automatically. | Add properties: {"harmony-catalog.storage.proxinator.bucket": <bucket>} to the create request, with one of the buckets listed in the message. These buckets are bound on the Storage tab of the engine deploy page (default-warehouse, warehouse-2, warehouse-3). If the list is empty ([]), see the no buckets configured entry. |
| 404 | Catalog <name> not found | TopLevelEntity of type CATALOG does not exist: <name> |
No catalog with this name exists in this realm. | List the catalogs with GET /api/management/v1/catalogs, and check the spelling. Catalog names are case-sensitive. Confirm that you use the correct Cloudera Harmony Catalog instance URL. |
| None | config.defaultCatalogName "<value>" is invalid: use letters, digits and '.' only, starting with a letter or digit |
The defaultCatalogName value is invalid, so instance rendering fails and nothing is applied. The name must match ^[A-Za-z0-9][A-Za-z0-9.]*$. Underscores and hyphens are temporarily disallowed. | Edit the instance config, and set defaultCatalogName to letters, digits, and . only. The default value is harmonycatalog. Names such as harmony_catalog or my-catalog are rejected. |
| 400 | Unknown bucket '<bucket>'; granted buckets: [<list>] |
The bucket alias in the catalog properties is not one of the buckets bound to this Cloudera Harmony Catalog. | Use one of the bucket aliases listed in the message. These are app-bucket aliases, not cloud bucket names. If the required alias is missing, bind it to an additional storage slot, warehouse-2 or warehouse-3, on the Storage tab of the deployment and redeploy. |
| 400 | Internal catalogs require the 'harmony-catalog.storage.proxinator.bucket' property naming which granted bucket to use; granted buckets: [<list>] |
The INTERNAL catalog does not name the bound bucket that stores it. INTERNAL catalogs must name this bucket. | Add properties: {"harmony-catalog.storage.proxinator.bucket": <one of the listed buckets>} to the create-catalog body. Do not send storageConfigInfo or default-base-location, because the server computes them. |
| 403 | Invalid locations '<locations>' for identifier '<table>': <location> is not in the list of allowed locations: [<allowed>] |
The requested table location is not under the warehouse of the catalog. | Use a location from the catalog warehouse displayed in the message (s3://<bucket>/<catalog>/...) or omit the location so that the server selects it. The check applies to the allowedLocations of the catalog, not to Ranger. |
| 500 | Failed to fetch resolved parent for TableIdentifier '<id>' | Failed to fetch resolved TableIdentifier '<id>' | Failed to initialize catalogId before using catalog with name: <name> | Unknown error status for identifier <id>: <status> with extraInfo: <info> | Failed to drop table/view/namespace <id>, status=<s>, extraInfo=<i> | Unexpected error trying to create namespace <ns>. Status: <s> ExtraInfo: <i> |
An internal consistency failure or metastore failure stops the operation. User input does not cause this failure. | Retry the request one time. If the problem happens again, collect the server logs and open a support ticket. Check the health of the Postgres metastore. |
| None (authorization still works; audit lost) | Ranger audit destination warnings from the Ranger plugin (no Polaris-owned message); audit is only enabled when the ingestor URL is published (engine.yaml) |
Authorization decisions are not reaching the Cloudera Unified Data Fabric audit store. | Verify that the udf ranger-audit-ingestor service exists and that its allowlist contains the SPIFFE ID of this server. The allowlist is set in serviceConfigs and service.account.users in engine.yaml. Check audit.is.enabled and the ingestor URL in the rendered config. |
| 500 | caller_principal_does_not_exist_at_resolution_time |
In internal credential mode, the resolver requires a Polaris principal with the same name as the header identity. With Ranger and trusted-header authentication, the intended setting is credential-mode=external, which skips this lookup. The response displays the raw diagnostic key instead of an explanation. | Set polaris.authentication.credential-mode=external together with polaris.authentication.type=trusted-header and polaris.authorization.type=ranger. The engine.yaml file sets credential-mode=external by default. Do not create Polaris principals for each user. Grant access in Ranger instead. Redeploy or restart after you change the settings. |
| 500 | Failed to authorize principal <PolarisPrincipal toString> for op {}<OPERATION> |
The Ranger embedded authorizer failed while evaluating the request. The message contains an unreplaced {} placeholder and a dump of the principal object. The user-facing text hides the root cause, which is only in the server logs. |
Check the Cloudera Harmony Catalog server logs for the wrapped RangerAuthzException. Verify that Ranger Admin is reachable and that the udf_harmony_catalog_<instance-name> service exists with the Polaris service-def. Check the polaris_authz_ranger_requests{decision=error} metric and the ranger check of /q/health/ready. Retry the request. If the problem persists, restart the pod. |
| 200 | (no error returned; the storage fields are discarded and the update proceeds) |
Storage changes on a managed catalog are ignored without notice to the caller. The 200 response looks like a success. | Do not try to move a managed catalog. To use a different bucket, create a new catalog with that 'harmony-catalog.storage.proxinator.bucket' value and migrate the tables. |
| None | n/a (setting has no effect) |
Audit events are not sent. The engine still starts. | Configure auditGateway on the cluster, and allow system:serviceaccount:<ns>:harmony-catalog on the gateway. Unsent events are logged as JSON log lines with the audit_fallback key after approximately two minutes. |
| None | 0/<n> nodes are available: Insufficient cpu Insufficient memory |
Each default server pod requests 4 CPU and 8Gi, and shares the same nodes with three Postgres pods. Topology spread is best-effort because it uses ScheduleAnyway. | Use three nodes with at least 16 CPU and 32Gi each. The recommended node size is 32 CPU and 64Gi. For development, set replicas: 1 with smaller cpuRequest and memoryRequest values instead. |
| None | <template render error from .S3.BucketBacking for bucket '<bucket>'> |
The engine cannot render at all on a cluster whose abs-operator does not publish bucket backing info. | Upgrade abs-operator on the cluster to a release that includes awc-core#2227 before you deploy this engine version. No configuration workaround exists. |
| None | n/a (no error; Atlas listener not added to polaris.event-listener.types) |
Catalog metadata is not mirrored to Unified Data Fabric until Cloudera Unified Data Fabric publishes its Atlas ingest endpoint. The next dependency update adds the Atlas listener. | Wait until Cloudera Unified Data Fabric is fully Ready or set atlasIntegrationEnabled to false to run without Atlas integration. Check udfAtlasIngestEndpoint on the ranger dependency. |
| 403 (policy written for username) | principal in log: spiffe://default-mesh/ns/<ns>/sa/<sa> (instead of username) |
The compute engine calls as its own workload, so Ranger evaluates the SPIFFE ID instead of the user. | Fix the upstream authentication. Knox must set x-awc-username. Alternatively, grant the SPIFFE ID in Ranger. To verify, run kubectl logs deploy/<name> -c harmony-catalog | grep -iE 'x-awc-username|x-awc-source-workload-id'. |
| None | n/a (Ranger service not registered; ranger-onboard Job missing) |
Without onboarding, the Ranger service and policies are not created, and the health check for the Job cannot succeed. | Ensure that Cloudera Unified Data Fabric 2.0.0-b.147 or higher is deployed and Ready so that the udfOnboardingClient capability is published. Otherwise, register the service manually as described in the Registering the Ranger Service section of the README. |
| None | <polaris-admin stack trace, e.g. org.postgresql.util.PSQLException: ...> |
The metastore is not seeded, so the server pods stay in bootstrap-gate and the EngineInstance never becomes Ready. | Run kubectl logs job/<name>-bootstrap-<hash> -c bootstrap. Verify the QUARKUS_DATASOURCE_* values. Verify that the CNPG write endpoint is reachable and that it accepts sslmode=require. |
| None (event goes to fallback log) | The audit gateway rejected event <eventId> with HTTP <status>; it will not be retried | The audit gateway rejected event <eventId> with its changes; sending it again without them |
The audit gateway refused the event body. For HTTP 400, the listener retries one time without the changes section and writes the event to the fallback log with reason=rejected. |
For the 401/403: check the server's SPIFFE/workload identity is allowed by the gateway. 400/413/422: capture the 'audit_fallback' line and compare the body with the gateway's schema. Find lost events by searching the log for audit_fallback. |
| None (logged only) | Error while delivering <EVENT_TYPE> event to listener '<name>' (<class>) | Failed to drain listener backlog; task delivery may be delayed |
The event is lost for that listener after an exception. The original request still succeeds. | Read the stack trace under this log line. Fix the listener configuration, such as the endpoint or credentials. For possible causes, see the Atlas and audit-gateway entries. |
| None (not returned to client; request succeeds) | Event listener queue is full Error while scheduling <EVENT_TYPE> event delivery to listener '<name>' (<class>) |
The listener backlog reached its configured capacity. The event is dropped for that listener, so audit or Atlas loses that event. | Check the listener health at /q/health, including the audit-gateway and atlas checks. Check the availability and latency of Atlas and the audit gateway. Raise polaris.event-listener.queue.capacity or correct the slow downstream service. |
| 400 | Cannot set property 'io-impl' to '<impl>' for this catalog. | File IO implementation '<impl>', as storage type '<type>' is not supported | File IO implementation '<impl>' (storage type '<type>') is considered insecure and must not be used | Unknown FileIO implementation: <impl> |
Cloudera Harmony Catalog locks the FileIO implementation. Clients cannot override io-impl. |
Remove io-impl from the table or catalog properties and use the catalog default. |
| 409 | Concurrent modification of namespace: <ns> | Failed to commit Table or View <id> because it was concurrently modified | Unable to resolve sibling entities to validate location - <status>[. Could not resolve entity: <name> | . path: <p>, failed index: <i>] |
Another request changed the entity while this request ran. | Retry the request. If the error repeats for the same entity, check for another process that repeatedly updates the entity. |
| 400 | Entity name must not be empty | Entity name must not be '.' or '..' | Entity name must not contain control characters (U+XXXX): <name> | Entity name must not contain '<c>': <name> | Entity name must not have leading or trailing whitespace: <name> |
The name breaks the Cloudera Harmony Catalog naming rules. A name must not be empty, ., or .., and must not contain control characters, forbidden characters, or leading or trailing spaces. |
Rename the entity by using letters, digits, underscores, and hyphens. Remove leading and trailing spaces. Avoid / and other path characters because names become storage paths. |
| 400 | Metadata location <loc> is not allowed outside of table location <table-loc> | Failed to find StorageInfo entity for TableIdentifier <id> |
The table metadata is outside the table location, which is not allowed, or the storage information of the table is missing. | Register only tables whose metadata file is inside the table directory. Do not point register-table at metadata files in another path. If StorageInfo is missing, the table entity is corrupt. Contact support. |
| 400 | Specifying a table or view location using <the location field | write.data.path | write.metadata.path> is not allowed. |
The catalog forbids explicit table locations because ALLOW_CLIENT_SPECIFIED_TABLE_LOCATION is set to false. |
Remove the location property and the write.data.path and write.metadata.path properties. The catalog then assigns the location under its storage root. |
| 403 | Table '<id>' has locations outside the catalog's current allowed locations: <detail> |
The allowed locations of the catalog changed or the table was registered outside them. | Check the allowed locations of the catalog by using GET /api/management/v1/catalogs/<name>. Move or re-register the table within those locations. |
| 404 | Catalog not found |
The catalog in the request path cannot be found. | Check the catalog name in the URL prefix. To list catalogs, use GET /api/management/v1/catalogs. |
| None (background; table already dropped) | Failed to handle task entity id <id> (retried with backoff 1s,2s,3s; gives up after 3 attempts) | Unable to find handler for task type <type> for task entity id <id> | Provided taskId must be a task entity type |
Background file deletion for a purged table did not complete. Data files might remain in the bucket. | Check storage access for the Cloudera Harmony Catalog identity on the table path, including the delete permission in Ranger or Raz and the storage grant. After you resolve the cause, you can remove the remaining files manually. |
| 401 | Failed to find authenticatedPrincipal in SecurityContext |
The request reached the REST adapter without a PolarisPrincipal. Usually, authentication did not run for the realm or an unauthenticated request was allowed through. For example, the mechanism is inert because authentication.type does not match. |
Verify that polaris.authentication.type is trusted-header and that the request carries x-awc-username or x-awc-source-workload-id through the gateway. Retry through the Anywhere Cloud endpoint with a valid Knox token. |
| 406 (UnsupportedOperationException mapped by IcebergExceptionMapper) | Token generation is disabled Token verification is disabled |
The server is configured without a token broker, with the polaris.authentication token-broker set to none. Polaris-issued OAuth tokens are unavailable, and clients must not call /v1/oauth/tokens. |
Do not request tokens from Cloudera Harmony Catalog. Authenticate through the Anywhere Cloud gateway with a Knox token. Configure Iceberg clients with the gateway token or credential instead of oauth2-server-uri. |
| 500 | Ranger authorizer factory was not initialized successfully |
The authorizer cannot be created because initialization did not complete. The authorizer is missing or the service name is blank. | Check the earlier startup error in the pod logs and the ranger check of the readiness endpoint /q/health/ready. Correct the Ranger configuration as described in the Ranger configuration entries and restart the pod. |
| 400 | Cannot create Catalog <name>. One or more of its locations overlaps with an existing catalog |
Two catalogs cannot share or nest storage paths. Managed catalogs get <bucket>/<catalog-name> as their location, so an overlap exists if one catalog name is a path prefix of another in the same bucket, or if a dropped catalog is recreated under an overlapping name. | Choose a catalog name that is not a path prefix of an existing catalog in the same bucket or use a different bucket. To view the locations of existing catalogs, use GET /api/management/v1/catalogs. |
| 500 | Proxinator storage is not provisioned: missing 'sts_role_arn' in the ABS credential directory. |
The role that vends scoped credentials for the catalog is not provisioned for this instance. | As with the endpoint entry, verify that the storage grant is Ready and that the mounted secret contains 'sts_role_arn' and restart the pod. If the grant changed recently, wait for the operator to reconcile. |
| 500 | Proxinator storage is not provisioned: bucket '<bucket>' resolves to scheme abfss but harmony-catalog.storage.proxinator.azure-account-by-bucket."<bucket>" is unset, and no binding carries the account. |
The Azure storage account name for this bucket is not supplied. The account name is required to build the abfss:// location. | Ensure that the bucket binding on the Storage tab carries the Azure storage account. Alternatively, set harmony-catalog.storage.proxinator.azure-account-by-bucket."<bucket>"=<account>, and quote keys that contain dots. Fallback to the account of another bucket is intentionally not supported. Redeploy and retry. |
| 406 | Feature not enabled: ENABLE_S3_PROXY_CREDENTIAL_VENDING |
Managed catalogs always carry s3Proxy settings, and the feature flag that allows these settings is off in this realm. | An administrator must set polaris.features."ENABLE_S3_PROXY_CREDENTIAL_VENDING"=true for the realm. The Cloudera Harmony Catalog engine sets this value by default, so a missing value suggests a modified configuration. |
| 409 / 400 | Catalog '<name>' ... |
The catalog cannot be dropped while it still contains namespaces or other entities. | Drop all tables, views, and namespaces in the catalog. Drop any catalog roles. Then, delete the catalog. |
| 409 | Failed to update Catalog; currentEntityVersion '<actual>', expected '<supplied>' |
The catalog changed after you read it, which causes an optimistic locking conflict. The message arguments are swapped, so expected displays the value that you sent. |
Run GET /catalogs/<name> again, use its entityVersion as currentEntityVersion, and reapply the change. |
| None (startup abort) | Setting principal mode to EXTERNAL when the authentication type is INTERNAL is not allowed. | Setting principal mode to EXTERNAL when the authorizer is the default (internal) is not allowed. |
The combination of identity and authorizer settings is unsafe. | Use the Cloudera Harmony Catalog default values, which are authorizer type ranger with credential-mode external. Check polaris.authentication.[<realm>.]credential-mode and polaris.authorization.type. |
| None | <admission webhook text> (unknown field in config) |
The upgrade is rejected because the spec of an instance created by a lower engine version still carries removed configuration keys. | Remove the listed keys from spec.config of the EngineInstance and reapply the spec. If present, delete the unused <name>-bootstrap-credential Secret and the old <name>-bootstrap Job. |
| None | Metadata name must not contain @ or / |
The value forms the entity ID <name>/<realm> sent to Unified Data Fabric, and @ and / break that id. No template check exists, so the failure surfaces later in the Atlas listener. |
Use only letters, digits, ., -, or _. Treat the name as permanent because changing it disconnects entities already registered in Cloudera Unified Data Fabric, and no migration path exists. To use the instance name, leave the value empty. |
| None | <admission webhook text> (row grants less than the slot's declared purposes) |
Cloudera Harmony Catalog requires all four permissions because DROP TABLE ... PURGE and asynchronous cleanup delete objects. A grant with fewer permissions is refused immediately. | Rebind the dataset with read, write, list, and delete permissions on the Storage tab. If the dataset itself is read-only, register a writable dataset. |
| 400 / 500 | <server message naming the bucket and property harmony-catalog.storage.proxinator.azure-account-by-bucket."<bucket>"> |
No fallback account exists by design. The server does not guess an account. | Confirm that abs-operator reports the Azure account for the bucket in status.s3Registration.buckets[]. Redeploy so that the engine renders the per-bucket account property. |
| 404 | 404 Not Found (or empty catalogs list) |
The default catalog was not created or the request uses a catalog name that does not exist. | For the default catalog, check kubectl logs job/<name>-catalog-bootstrap-<hash>. Otherwise, create the catalog. Confirm that the catalog name equals config.defaultCatalogName. |
| 404 | 404 Not Found |
The realm is hardcoded to HARMONY_CATALOG, and any other value is treated as an unknown realm. |
Send 'Polaris-Realm: HARMONY_CATALOG' or omit the header to use the default realm. |
| 401 / 403 | ERROR: failed to get Knox token | ERROR: catalog creation failed (HTTP <code>): <body> |
The sample script cannot obtain a token or the user does not have permission to create catalogs. | Deploy the knoxtoken topology. Verify the Knox user name and password. In Ranger, grant catalog-create on root (root:*) to the user, with the policy on root only and not on root and catalog. |
| 406 | Feature not enabled: ENABLE_S3_PROXY_CREDENTIAL_VENDING |
S3 proxy credential vending is disabled for this realm. | Enable polaris.config.enable-s3-proxy-credential-vending in the realm or catalog configuration through the engine or deployment configuration, or remove the s3Proxy block from storageConfigInfo. For managed INTERNAL catalogs, the engine sets the flag, so this error indicates that the deployment configuration was overridden. |
| 400 | Cannot modify storage type of storage config from <old> to <new> Cannot modify AWS account ID in storage config from <old> to <new> Cannot modify ExternalId ... Cannot modify TenantId ... |
The storage identity of an existing catalog is immutable. | Create a new catalog with the required storage, and migrate the tables. For INTERNAL catalogs, storage cannot be changed at all, and storage updates are ignored or rejected. |
| 500 | Failed to fetch Azure access token for tenant <tenant> Endpoint <endpoint> not supported Expect allowed read write locations belong to the same storage account and container |
Azure credential minting failed. | Verify the tenant ID, and verify that the managed identity can request user delegation keys on the storage account. Use one storage account and container for each catalog. |
| 500 | Unable to impersonate GCP service account: <sa> Unable to refresh GCP credentials Unable to fetch access credentials <cause> |
Polaris cannot obtain a downscoped GCS token. | Verify that the Cloudera Harmony Catalog workload identity can impersonate the service account with roles/iam.serviceAccountTokenCreator, that the service account exists, and that the IAM Credentials API is enabled. |
| 404 | UnknownHostException during File IO |
DNS resolution of the object store or proxy host failed, and the failure surfaces as HTTP 404. | Check the endpoint file value in the ABS credential directory. Verify the cluster DNS, and verify that the proxinator service exists by running kubectl -n abs get svc. Check the network policy and mesh membership. |
| 500 | Proxinator storage is not provisioned: bucket '<bucket>' resolves to scheme adls but harmony-catalog.storage.proxinator.azure-account-by-bucket."<bucket>" is unset, and no binding carries the account. |
The Azure bucket is bound without the storage account name. | Ensure that the bucket binding on the Storage tab is an Azure-backed dataset with an account. Redeploy so that the blueprint renders azure-account-by-bucket for that bucket. |
| 400 | External catalogs are currently disabled |
The server currently refuses EXTERNAL catalogs. | Create an INTERNAL catalog instead. EXTERNAL catalogs are restricted at the deployment level. To use EXTERNAL catalogs, contact the platform administrator. |
| 400 | storageConfigInfo is required |
The server is not running in managed-storage mode, so the client must supply the storage configuration. The ABS credential directory is missing or managed storage is off. | For an Anywhere Cloud deployment, verify that the ABS credential volume is mounted at /deployments/abs-credentials by checking the pod events and the Storage tab of the deployment. Also verify that harmony-catalog.storage.managed-storage=true. For other deployments, supply storageConfigInfo in the request. |
| 400 | <provider message, e.g. The specified bucket does not exist / Not Found (Status Code: 404)> |
The referenced bucket or object does not exist. Polaris maps the cloud 404 response to HTTP 400. | Confirm that the bucket is bound and exists. Confirm that the metadata file path was not deleted manually. For a new catalog, check the bucket binding again. |
| 502 | <provider message> |
The backend object store or proxinator returned a server error. | Retry the request. Check the health of the proxinator and ABS pods in the abs namespace, and the object-storage check of GET /q/health. Verify network connectivity from the Cloudera Harmony Catalog pod to the proxy endpoint. |
| 400 | Cannot create namespace without a parent storage configuration | Namespace <ns> has a custom location, which is not enabled. Expected a location in: [<locs>]. Got location: <loc>] | Namespace <ns> has a custom location, which is not enabled. Expected location: [<loc>]. Got location: [<loc>] |
The namespace location property differs from the default location derived from its parent. |
Omit the location property when you create namespaces or set it to the expected path in the message. |
| 403 | Table <id> cannot be dropped: <info> | View <id> cannot be dropped: <info> | Unable to purge entity: <name>. To enable this feature, set the Polaris configuration DROP_WITH_PURGE_ENABLED or the catalog configuration polaris.config.drop-with-purge.enabled |
The drop is blocked because the entity is protected or DROP ... PURGE is disabled on this catalog. | Use DROP without PURGE or ask an administrator to enable purge on the catalog by setting polaris.config.drop-with-purge.enabled=true. |
| 403 | Unable to create entity at location '<loc>' because it conflicts with existing table or namespace at <location> |
Table and namespace locations cannot overlap. | Select a location that does not sit inside or contain the location of another table or namespace. Alternatively, let the catalog assign the location. |
| 403 | Unable to purge entity: <name>. To enable this feature, set the Polaris configuration <key> or the catalog configuration <catalogKey> |
Purge is disabled at the realm level and the catalog level. | Drop the table without PURGE. Alternatively, set the catalog property polaris.config.drop-with-purge.enabled=true or the realm feature DROP_WITH_PURGE_ENABLED. |
| 403 | Invalid locations '<locations>' for identifier '<identifier>': <reason> |
The storage location rules of the catalog reject the requested location. | Omit the location so that the catalog assigns one within its base location or use a path inside the allowed locations of the catalog. |
| 403 | Invalid locations '<locations>' for identifier '<identifier>': File locations are not allowed |
File and HTTP locations are blocked because FILE is not in SUPPORTED_CATALOG_STORAGE_TYPES. |
Use an object-store location, such as s3a://, abfss://, or gs://, inside the catalog storage. |
| 403 | Table '<identifier>' has locations outside the catalog's current allowed locations: <detail> |
The table metadata points to storage that the allowed locations of the catalog do not cover, so credentials are not vended. | Update the allowedLocations of the catalog, which is the managed storage bucket, to include the table location. Alternatively, recreate the table within the catalog base location. Do not move tables across buckets. |
| 403 | Unable to create entity at location '<location>' because it conflicts with existing table or namespace at <existing location> |
Locations must not nest or overlap with another table or namespace. | Select a distinct, non-overlapping location or let the catalog assign one. |
| None (exit code 3, CLI) | Specify either `--credentials` or `--print-credentials` to ensure the root user is accessible after bootstrapping. |
Neither --credentials nor --print-credentials is specified. Without one of these options, the bootstrapped realm has a root principal that nobody can log in as. | Rerun the command with `--credentials <realm,clientId,secret>` or `--print-credentials`, and capture the output securely. The bootstrap Job of the Cloudera Harmony Catalog engine passes these options automatically. |
| None (startup) | <WARNING-SIGN> Production readiness checks failed! Check the warnings below. - <message> Offending configuration option: '<property>'. |
The production readiness checks found settings that are unsafe for production. These warnings are non-fatal, but severe ones abort startup. | Review each listed property and correct it, or acknowledge the warning. For more information, see configuring-polaris-for-production. The warnings do not stop the server. |
| None (startup warning) | The current metastore is intended for tests only. |
The configured metastore is intended for tests only. Data is lost when the server restarts. | Set polaris.persistence.type to a relational-jdbc or nosql backend with a database connection. |
| None (startup abort) | The storage type '<type>' is considered insecure and exposes the service to severe security risks! | Must not enable a configuration that exposes known and severe security risks: <description> |
An insecure storage type is configured. | Remove FILE from polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES", and set ALLOW_INSECURE_STORAGE_TYPES=false. |
| 401 | No Polaris credential available |
The authenticated identity does not carry the expected credential object. The cause is an internal inconsistency between the mechanism and the authenticator, not a user mistake. | Retry the request, because no user configuration resolves this issue. If the problem is reproducible, capture the request headers without secrets and the server logs, and report them to the Cloudera Harmony Catalog team. Confirm that polaris.authentication.type=trusted-header on all realms. |
| 403 | Authorization denied (or the authorizer-provided message) |
The deny text is a generic message from the default authorizeOrThrow helper and carries no principal, operation, or resource. | Check the server logs for the denial. For Cloudera Harmony Catalog, add the missing Ranger policy for the principal. For more information, see the is not authorized for op entry. |
| 500 | No target provided to authorize <OPERATION> for privileges <privileges> No secondaries provided to authorize <OPERATION> for privileges <privileges> |
An internal precondition failed. The operation requires a resource to authorize against, but none is resolved. | Capture the request, including the operation and path, and the server log, and report them to the Cloudera Harmony Catalog team. Users cannot resolve this issue. |
| None (exit code non-zero) | Purge encountered errors during operation. |
Purging realm data failed. No detail is printed. | Check the database connection and the stack trace output of the command and rerun the command. |
| 500 | Unsupported authentication type: <TYPE> |
The federation authentication type is not enabled. The response status is 500, although the problem is a client error. | None. External catalogs are disabled in this release. |
| 500 | Unsupported connection type: <TYPE> |
The federation connection type is not enabled. The response status is 500, although the problem is a client error. | None. External catalogs are disabled in this release. For more information, see External catalogs are currently disabled. |
| None | <Kubernetes message> e.g. must be less than or equal to cpu limit |
Requests must not exceed limits. Valid quantities include 500m, 2, 1Gi, and 2048Mi. The engine performs no check of its own. | Set each limit equal to or higher than its request. The defaults are 4 CPU and 8Gi, with requests equal to limits. Use valid Kubernetes quantities. |
| None | n/a (no message defined) |
The tracingSampleRatio value is a string, so an invalid value is not detected at deploy time. | Set tracingSampleRatio to a number from 0 through 1, such as 0.1. Use an OTLP gRPC endpoint, such as http://collector:4317. Check the server logs for OpenTelemetry exporter errors. |
| 401 | 401 Unauthorized on every request |
The trusted-header authentication and Ranger configuration are not loaded, so every request returns 401. | Run kubectl exec deploy/<name> -c harmony-catalog -- env | grep SMALLRYE_CONFIG_LOCATIONS and verify that the output displays /deployments/config,/deployments/config-override. Do not override SMALLRYE_CONFIG_LOCATIONS. |
| None | <ProductionReadinessChecks error: external credential mode requires an external authorizer> |
The server refuses to start with an unsafe pairing of authentication and authorization settings. | Keep polaris.authentication.credential-mode: external with polaris.authorization.type: ranger, as shipped. Do not override authType or authorizer through advancedConfig. |
| 404 | 404 with no body detail (security headers still applied); only /docs/, index.html, explorer.js, explorer.css, scalar-standalone.js and specs/management.json, specs/catalog.json are served |
Only the listed files exist. Directory listings are intentionally disabled. | Open /docs/. The server redirects /, /index.html, and /docs to /docs/. The specs are at /docs/specs/management.json and /docs/specs/catalog.json. |
| None (logged) | Skipping <EVENT> because its realm id is missing or unresolved (<id>); it has no stable identity, and writing it would create a second Atlas entity for the same object | Atlas listener failed handling <EVENT> | <EVENT> carried no catalog name; nothing written to Atlas | <EVENT> carried no catalog or table name; nothing written | <EVENT> carried an incomplete rename request; nothing renamed | <EVENT> carried no schema, so the renamed table's columns keep their old keys |
The event cannot be mapped to an Atlas entity, so Atlas is not updated for that change. | Capture the log line with the event type and file a defect, because the cause is usually a bug or an unsupported event path. Do not retry manually. Rerun the operation or resynchronize Atlas. |
| None (listener fails to build) | retry.max-attempts must be at least 1, got <n> | retry.jitter must be between 0 and 1, got <v> | polaris.event-listener.atlas.notification-rest-endpoint must not be blank | Could not seed the Atlas client configuration; no metadata can be mirrored to Atlas | Failed to close the Atlas HTTP client |
A setting is out of range or the Atlas client library cannot be configured. | Correct the named property to a value in the allowed range. For the Could not seed error, verify that /tmp in the pod is writable, check the classpath, and check the nested cause in the log. |
| 400 | Cannot <create|update|drop|rename> <table|view> on static-facade external catalogs. | Unsupported operation: commitTransaction with baseCatalog type: <type> | Unsupported operation: commitTransaction containing SetLocation for table '<t>' and new location '<loc>' | Unsupported operation: listViews with baseCatalog type: <type> | Register table overwrite is only supported for internal Polaris catalogs | Cannot update internal catalog via notifications |
The operation is not supported for this catalog type or content. | Run write operations only against INTERNAL catalogs. For multi-table commits, do not change the table location inside the transaction. |
| 404 | Parent path does not exist for <identifier> | Cannot rename <from> to <to>. <Table|View> does not exist | Cannot rename <from> to <to> because the source or target path could not be resolved |
The namespace path changed or was removed while the request was running. | Verify that the namespace still exists and retry the request. If the request keeps failing, list the namespace and recreate it. |
| 409 (create/version/mapping) / 400 (attach, in use) | Policy already exists <id> | Policy version mismatch. Given version is <n>, current version is <m> | The policy mapping of same type (<type>) for <target> already exists | Policy <id> is still attached to entities | Cannot attach policy '<policy>' to target entity '<target>' | Failed to attach policy <p> to <t>: <status> with extraInfo: <info> |
A policy lifecycle conflict exists. The policy name is a duplicate, the version is stale, an attachment of this type already exists, the policy is still attached, or the policy type cannot be attached to this entity type. | Read the policy first, and use the current policy version in updates. Detach the policy from every target before dropping it. Verify that the policy type is valid for the target table, namespace, or catalog. |
| 401 | Failed to verify the token |
The JWT cannot be verified because of a bad signature, an expired token, or an incorrect key or issuer. The cause is only in the logs. The standard Harmony Catalog trusted-header deployment does not use this verification. | Obtain a new token. Ensure that the server key pair or secret matches the issuer. Check for clock skew. For Cloudera Harmony Catalog, use the Knox gateway path instead of Polaris-issued tokens. |
| 403 | Principal '<principal>' with activated PrincipalRoles '<roles>' and activated grants via '<entities>' is not authorized for op <OPERATION> |
The built-in Polaris RBAC denies the request. Harmony Catalog uses Ranger instead, but this check is still reachable if the authorizer type is switched. | Grant the required privilege to a catalog role that is assigned to one of the principal roles of the caller. Alternatively, switch to authorization.type=ranger and add a Ranger policy. |
503 on /q/health/ready |
ranger: DOWN {error="<exception message>"} |
Checking Ranger raised an unexpected exception, usually because of a class-loading or packaging problem. | Check the pod logs for the stack trace. Verify that the image includes the Ranger authorizer JAR files and the javax annotation JAR files (-Xbootclasspath/a). If the problem is a packaging issue, report it to the Cloudera Harmony Catalog team. |
| 403 | Table <identifier> cannot be dropped: <extraInfo> View <identifier> cannot be dropped: <extraInfo> |
The entity is protected from being dropped, for example because it has dependencies or is internal. | Check the additional information in the message. Remove the dependency or contact the administrator. |
| 500 | Cannot create Catalog <name>: <return-status> with extraInfo <info> |
Persistence returned an error other than already exists. | Retry the request one time. If the problem happens again, check the connectivity to the PostgreSQL metastore and the extraInfo in the server log, and contact the administrator. |
| 400 | Must specify default base location |
A catalog with storage configured requires a default base location. | Set properties.default-base-location. Managed catalogs set this property automatically. |
| 500 | Unable to read proxinator storage parameter file <path> |
The file exists in the mounted credential directory, but reading it failed because of a permissions or I/O error. | Check the volume mount for /deployments/abs-credentials in the pod. The server user must have read access to the file. Check the pod events for mount errors, and restart the pod. The server log contains the cause chain. |
| 400 | storageConfigInfo is required |
The server does not own storage, so the caller must supply the storage configuration. | Include storageConfigInfo in the request, with storageType, allowedLocations, and roleArn for S3. If you expected server-managed storage, verify that harmony-catalog.storage.proxinator.managed-storage is true and that /deployments/abs-credentials is mounted. |
| 400 | Explicitly disabling STS is not allowed. |
Clients cannot turn off STS credential vending on this server. | Remove stsUnavailable from storageConfigInfo or ask an administrator to enable ALLOW_SETTING_S3_ENDPOINTS. |
| 400 | Explicitly setting S3 endpoints is not allowed. |
Clients cannot override S3 endpoints on this server. | Remove endpoint, stsEndpoint, and endpointInternal from storageConfigInfo. An administrator can allow S3 endpoint overrides by setting the ALLOW_SETTING_S3_ENDPOINTS feature to true. |
| 400 | Unsupported storage type: <TYPE> |
The requested storage type is not enabled on this server. The storage types are S3, GCS, AZURE, and FILE. | Use one of the storage types enabled for this server in polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES", normally the type that matches the cloud. For managed catalogs, omit storageConfigInfo entirely. |
| 400 / 500 | Cannot rotate/reset credentials for a federated principal: <name> | Failed to <reset|rotate> secrets for principal '<name>' | Failed to load current secrets for principal '<name>' |
Credential rotation applies only to internally managed principals. | Do not rotate credentials for Cloudera Harmony Catalog users, because Knox or SPIFFE headers authenticate them and they are not Polaris principals. Manage access in Ranger. |
| 400 | Cannot modify AWS account ID in storage config from <old> to <new> (also: 'Cannot modify ExternalId ...', 'Cannot modify TenantId ...') |
Identity-level storage fields are locked after creation. | Keep these values unchanged or ask an administrator to allow ALLOW_UNRESTRICTED_STORAGE_CONFIG_ROLE_CHANGES. |
| 400 | Cannot modify storage type of storage config from <old-config> to <new-config> |
The storage type cannot be changed after creation. | Create a new catalog with the required storage type. |
| None | <ace-operator text> autoDependencyTargets harmonyCatalogDb missing / namespace not found |
The auto-provisioned PostgreSQL database, postgres-plugin 18.0.0, requires a target namespace. | Create the target namespace first. Add autoDependencyTargets: [{name: harmonyCatalogDb, targetNamespace: <ns>}] to the EngineInstance. For an example, see examples/instance.yaml. Blueprint deployments perform this configuration automatically. |
| 500 | 500 caller_principal_does_not_exist_at_resolution_time |
The shipped engine, which uses credential-mode: external, is not expected to return this error. The error indicates a configuration override. | Verify that the rendered configuration contains polaris.authentication.credential-mode: external, and remove any override. In internal mode, create the principal through the Management API. |
| None | ERROR: credential generator returned <N> characters, expected 64 |
The read from /dev/urandom returned too few characters. The check fails closed. |
Wait for the Job to retry automatically with a new secret. If the error repeats, check the node entropy and the image. |
| None | ERROR: invalid realm or client id |
A defense-in-depth check fails. The realm HARMONY_CATALOG and the client ID harmony-catalog are hardcoded values, so the check fails only if the template is edited. |
Do not edit the hardcoded realm or bootstrapPrincipal values in engine.yaml. Redeploy the shipped engine. |
| None | ERROR: unexpected credential generator output |
A fail-closed check prevents seeding a weak or empty root secret. | Retry the Job, which also retries automatically. If the error repeats, verify that the psqlclient image includes head, od, and tr, and that /dev/urandom is readable. |
| 500 | Unable to read proxinator storage parameter file /deployments/abs-credentials/<file> |
The file exists, but reading it failed. | Check the pod volume mount and filesystem permissions, for example by running kubectl exec ... ls -l /deployments/abs-credentials. Check for a stale or partial secret mount. If the secret rotated, restart the pod. |
| 500 | Failed to get GCP credentials |
The server cannot authenticate to GCP. | Configure GCP Application Default Credentials (ADC) for the pod, through workload identity or GOOGLE_APPLICATION_CREDENTIALS. |
| 422 | <provider message, e.g. The bucket you are attempting to access must be addressed using the specified endpoint> |
The storage endpoint or region configured for the catalog is incorrect. | Check the region and endpoint files in the ABS credential directory and the region of the bucket. For managed storage, report the problem to the platform administrator. |
| None | (no Send/Test button is rendered) |
The Explorer is read-only for security reasons, so requests cannot be sent from the page. | Copy the example curl command from the page and run it with a Knox token. |
| 400 | Unknown policy type: <type> |
The policy type is not recognized. | Use a supported policy type from the Policy API reference, such as system.data-compaction. |
| 400 | Unrecognized snapshots: <value> |
The snapshots query parameter must be all or refs. |
Set snapshots=all or snapshots=refs or omit the parameter. |
| 404 | Policy does not exist: <namespace.policy> |
The named policy does not exist in the namespace. | List the policies in the namespace with GET .../policies and check the name. Policies belong to a namespace, so verify that the namespace is correct. |
| 403 | Only Root principal(service-admin) can perform <OPERATION> |
Only the root principal can reset credentials. The restriction does not apply in external credential mode. | Use the root principal, service-admin, to reset credentials. In Harmony Catalog, Knox and Ranger manage credentials outside Polaris. |
| 403 | Principal '<principal>' is not authorized for op <OPERATION> because it must rotate credentials first |
The principal has the credential-rotation-required state set. The feature applies to internal credentials only and does not apply in external credential mode. | Rotate the credentials of the principal through the principal credential rotation API or disable the enforcement feature flag. |
| 400 | Cannot set default-base-location '<loc>': storage configuration has no allowed-locations (allowed-locations list is <null|empty>) |
A default base location is set, but the allowed locations list is empty, so no location can be allowed. | Add allowedLocations to storageConfigInfo, including the default-base-location or its parent. Managed catalogs compute both values and are not affected. |
| 400 | Explicitly setting <catalogConfig-key> is not allowed because ALLOW_SETTING_SUB_CATALOG_RBAC_FOR_FEDERATED_CATALOGS is set to false. |
The request includes a federated-catalog RBAC property, but the server does not allow it. | Remove the property from the request. INTERNAL catalogs are not affected. |
| 400 | Number of configured locations (<n>) exceeds the limit of <max> |
The catalog has too many allowed locations. | Reduce the number of allowedLocations entries or ask an administrator to raise polaris.behavior-changes "STORAGE_CONFIGURATION_MAX_LOCATIONS". Managed catalogs have exactly one location. |
| 400 | default-base-location '<loc>' is not within any of the allowed locations <list> |
The base location is outside the allowed locations, so tables cannot be written there. | Set default-base-location to a sub-path of one of the allowedLocations entries, with the same scheme and bucket. |
| 409 | Cannot create Principal <name>. Principal already exists or resolution failed |
The principal name is already in use. | Choose another name or fetch the existing principal. |
| None (startup abort) | Quarkus REST Jackson reflection-free serializers must be disabled because Polaris REST JSON handling relies on registered ObjectMapper customizations for Iceberg request and response models. |
A build or configuration option breaks JSON handling. | Set quarkus.rest.jackson.optimization.enable-reflection-free-serializers=false. |
| None (startup abort or warning) | name-claim-path must be configured when credential-mode is EXTERNAL, since external principals are identified exclusively by name. | Either name-claim-path or id-claim-path must be configured so that internal principals can be resolved. |
OIDC users cannot be mapped to a principal. | Set polaris.oidc.[<tenant>.]principal-mapper.name-claim-path, for example to 'preferred_username'. Trusted-header authentication does not use this setting. |
| None | <admission webhook text> (defaultCatalogName is required) |
The defaultCatalogName field is required, although it has a default value. | Supply defaultCatalogName or keep the UI default, harmonycatalog. |
| None | Realm '<realm>' is already bootstrapped; skipping. |
The message is informational, not an error. The regenerated secret is discarded. | None. Old bootstrap Jobs are not pruned after upgrades. To delete an old Job, run kubectl delete job <name>-bootstrap-<old-hash>. |
| 409 | Catalog '<CATALOG_NAME>' already exists. |
The message is informational, not an error, because the Job treats 409 as success. The Job does not change the bucket of an existing catalog, and renaming defaultCatalogName creates a second catalog. | None. To use a different bucket, create a new catalog through the Management API. |
| 400 | Invalid azure location uri <loc> container and account name must be both provided storage account and endpoint must be both provided |
The Azure location is malformed. | Use the format abfss://<container>@<account>.dfs.core.windows.net/<path>. |
| 400 | AWS region must be set when using partition aws-us-gov |
GovCloud requires an explicit region. | Set the region in storageConfigInfo. For managed storage, set the region in the region file in the ABS credentials. |
| 500 | PKCS#1 key format (BEGIN RSA PRIVATE KEY) is not supported for GCS attribution from <path>; convert to PKCS#8 with: openssl pkcs8 -topk8 -nocrypt -in key.pem -out key-pkcs8.pem |
The key format is not supported. | Run the openssl command in the message, and mount the converted key. |
| 500 | GCS_PRINCIPAL_ATTRIBUTION_ENABLED is true but the following required config values are missing: <keys> |
GCS principal attribution is enabled without WIF audience, issuer, and/or signing key. | Set the listed GCS_PRINCIPAL_ATTRIBUTION_* values or disable attribution. |
| 400 | S3 proxy vending does not apply to storage type <type> |
S3 proxy path translation exists only for catalogs backed by Azure or GCS. | Remove the s3Proxy settings or use an Azure or GCS catalog. |
| 500 | STORAGE_CREDENTIAL_CACHE_DURATION_SECONDS should be less than STORAGE_CREDENTIAL_DURATION_SECONDS |
The cache duration is not less than the credential duration, so cached credentials can outlive their validity. | Lower the cache duration in polaris.config or the feature configuration to a value below the credential duration. |
| 400 | Location has no scheme to translate: <location> |
A table or metadata path is not a valid URI with a scheme. | Use fully qualified locations with an s3://, gs:// or abfss:// scheme. |
| 500 | Storage name '<name>' is not configured on the server |
A catalog references a server-side storage name that does not exist. | Add the storage under polaris.storage.aws.storages.<name> or correct the storageName of the catalog. |
| 400 | Location prefix not allowed: '<loc>', expected prefixes: '<prefixes>' |
An allowed location does not use the scheme required for the storage type of the catalog. | Use a location with one of the listed prefixes. For INTERNAL catalogs, do not send locations, because the server derives them. |
| 400 | Invalid role ARN format: <arn> ARN does not match the expected role ARN pattern ARN must not be empty |
The IAM role ARN is not a valid role ARN. | Use the format arn:<partition>:iam::<12-digit-account>:role/<name>. In managed mode, the value comes from the ABS 'sts_role_arn' file. If that value is incorrect, report it to the platform administrator. |
| 400 | S3 proxy settings need a role ARN to mint a session, or stsUnavailable set to true |
The S3 proxy block is incomplete. | Provide s3Proxy.roleArn, which is the role that the proxy STS assumes. If the proxy has no STS, set s3Proxy.stsUnavailable=true instead. |
| 400 | Invalid S3 location uri <loc> |
The s3:// URI is malformed. | Use the format s3://<bucket>/<path>. |
| 403 | Invalid locations '<locations>' for identifier '<table>': File locations are not allowed |
Locations that use file: or http are rejected. | Use object-store locations under the catalog warehouse. |
