Area: Observability Issues
Sub-Area: Assertion Configuration and Execution
Applies to: Cloud
Issue
Assertions on a dataset fail, or do not run on your Remote Executor. This usually happens because the ingestion source that ingested the dataset is not assigned to your executor pool, is managed by the CLI, or is a source type that assertions cannot connect through.
Error Messages
Unable to fetch a row count for <urn> using volume_source_type=<type>Unable to find a dataset profile or rowCount for <urn>Platform <type> is not yet supported. Please use profiling as source.Failed to resolve connection for entity with urn <urn>. No matching ingestion sources configured....Ingestion source is CLI-managed....has no row count available in svv_table_info...
You Might Be Asking
- How do I make assertions run on my Remote Executor instead of the default executor?
- Why do my assertions fail when my ingestion source works fine?
- Which source types can assertions connect through?
Cause
For a dataset assertion, DataHub does not pick a source by platform type. It asks DataHub for the ingestion source responsible for ingesting that dataset (ingestionSourceForEntity) and builds the connection from that source's recipe. Then:
- If the monitor has no executor pool, DataHub takes the
executorIdof that ingestion source and sets it on the monitor. - If no source is found, the executor logs
Failed to resolve connection for entity with urn <urn>. No matching ingestion sources configured. - If the source is managed by the CLI executor, the executor logs
...Ingestion source is CLI-managed.and gets no connection. - Only these source types can build a connection from the source's recipe: Snowflake, BigQuery, Redshift, Databricks and Unity Catalog. Other types fail with
Platform <type> is not yet supported. Please use profiling as source.AWS Glue is one of these other types. - Platform URNs use a separate path (
get_connection_from_data_platform).
Solution
-
Create an executor pool. In the left sidebar open Data Sources, click the Executors tab, then click Create. Set a unique Pool Identifier and click Create.
-
Deploy the Remote Executor for that pool. The pool ID on the executor must exactly match the Pool Identifier, and the executor must use the same channel (SQS or Kafka) as its pool. Otherwise it receives no work. For Helm, set
--set global.datahub.executor.pool_id="<pool>". For Docker, setDATAHUB_EXECUTOR_POOL_ID. See the setup guide. -
Assign the ingestion source to the pool. Open Manage Data Sources, edit the source that ingests your dataset (or click Create Source), and on the Connection Details page expand Advanced Settings. Choose your Executor Pool, then click Save and Run. Do not leave the source on the CLI executor. Re-run ingestion if the dataset was last ingested by a different source.
-
Check the source type. If the dataset comes from a type other than Snowflake, BigQuery, Redshift, Databricks or Unity Catalog (for example AWS Glue), assertions need profiling as the source. See the assertions documentation.
-
Check the executor's health and network. Under Data Sources > Executors, confirm that the pool shows an active executor. The executor needs outbound HTTPS (port 443) to
https://<your-company>.acryl.io/*. It needs no inbound connections. -
Fix Redshift row counts. The executor's Redshift row-count query reads
tbl_rowsfromsvv_table_info. If it finds no value, it raises...has no row count available in svv_table_info.... Make sure the assertion's database user can readsvv_table_info. -
Fix Glue IAM policies. Glue resource ARNs need the region and account id:
arn:aws:glue:<region>:<account-id>:catalog
arn:aws:glue:<region>:<account-id>:database/*
arn:aws:glue:<region>:<account-id>:table/*
See the Glue connector documentation.
Related Documentation
Tags: remote-executor, assertions, observability, redshift, databricks, glue, permissions, connection-errors, volume-assertions, executor-pools