Area: Ingestion Issues
Sub-Area: Scheduled Ingestion Execution
Applies to: Cloud
Issue
A scheduled ingestion source in DataHub Cloud does not run on its schedule, shows as aborted in the run history, or fails after a change such as a CLI version change.
Error Messages
Invalid update to immutable state for aspect dataHubExecutionRequestResultCooperativeTimeout deadline exceeded-
Ingestion job got aborted due to worker restart.(the summary the UI shows for an aborted run)
You Might Be Asking
- Why is my scheduled ingestion not running even though it shows as configured?
- Why do my ingestion runs show as "aborted"?
- Why did my ingestion fail after I changed the CLI version or after an upgrade?
- Can I set
query_log_durationto shorten the lineage and usage window?
Cause
- Invalid schedule. The DataHub server runs the ingestion scheduler. It accepts standard 5-field cron and 6-field cron, and it evaluates the cron in the schedule's timezone (UTC by default). If the cron is invalid, the server skips scheduling and the source never runs on schedule.
- Worker restart. The UI shows "Ingestion job got aborted due to worker restart." for an aborted run.
-
Immutable result.
Invalid update to immutable state for aspect dataHubExecutionRequestResult ... Denied update.appears when a run result that is already ABORTED, CANCELLED, SUCCESS or DUPLICATE is changed to a different status. The same message ending inIgnored update.appears when the same status is written again. A change to ROLLING_BACK is allowed. -
Cooperative timeout.
CooperativeTimeout deadline exceededis a CLI error. It appears when an operation runs longer than its cooperative timeout. - Slow capability checks on older Remote Executors. Older Remote Executors used a fixed subprocess timeout for capability checks of ingestion features. Slow cold starts could fail those checks. The fix is in Remote Executor v0.3.16.7-acryl and v0.3.17.2-acryl, which bundle acryl-executor 0.3.5.1. Capability checks in those releases no longer use a fixed subprocess timeout.
-
Invalid recipe key. Recipes reject keys that a source doesn't define.
query_log_durationis not a source config key, so adding it makes the recipe fail validation.
Solution
-
Check the run history and logs. In the left nav, open Data Sources and select the Sources tab. Open the source and look at its run history. Open the most recent failed or aborted run and read the logs. See Viewing run history and Troubleshooting failed ingestion.
-
Check the schedule. Confirm the cron expression is valid, for example
0 2 * * *, and that the timezone is the one you expect. A source with an invalid cron never runs on schedule. You need the Manage Metadata Ingestion privilege to edit a source. The server logsFound malformed Ingestion Source schedulefor an invalid cron. Cloud customers can't read server logs, so contact DataHub Support if the cron looks valid and the source still doesn't run. -
Use the current recommended CLI version. If a source started failing after a CLI version change, open the source, go to Advanced Settings, and set CLI Version to the current recommended release. DataHub Cloud v2.4.x release notes recommend 1.7.0.19. Write the version without a
vprefix. Save, then run the source. See UI ingestion. -
If you use a Remote Executor. Check its status in the UI and upgrade it to the latest release. See Checking Remote Executor status. If you use only DataHub-hosted executors, contact DataHub Support. You can't manage that infrastructure.
-
If runs abort or time out repeatedly. Use Test Connection on the source form to check that DataHub can reach your data source. In DataHub Cloud, Test Connection runs on a DataHub-hosted executor. If your source uses a Remote Executor, the result may not show what that Remote Executor can reach. Then sign in and contact DataHub Support through your usual channel. Include the source name, the run times and the log text.
-
Reduce load for large environments.
- Stagger schedules so sources don't all start together. For example, run Source A at 00:00, Source B at 02:00 and Source C at 04:00.
- Turn off features you don't need. Lineage defaults to on for Snowflake and BigQuery (
include_table_lineage), and usage statistics default to on for Snowflake (include_usage_stats). - Keep the default
start_time. It is the last full day in UTC, or the last full hour, depending onbucket_duration. A value such as-7dmoves the start back seven days. That makes the window longer and adds lineage and usage work. Do not usequery_log_duration.
source:
type: snowflake
config:
include_table_lineage: false
include_usage_stats: false
Use only keys from the source's documentation.
- Monitor after the fix. Wait for the next scheduled run. Confirm it completes and appears in the run history.
Related Documentation
- UI ingestion
- Introduction to scheduling metadata ingestion
- Remote Executor troubleshooting
- Remote Executor patch release notes (v0.3.16)
- Remote Executor patch release notes (v0.3.17.2)
- Snowflake prerequisites
Tags: scheduled-ingestion, executor, timeout, cli-version, bigquery, snowflake, aborted-runs