Area: Ingestion Issues
Sub-Area: Redash Connector Performance and Executor Stability
Applies to: Cloud
Issue
A Redash ingestion with many queries and dashboards can run for hours with the default settings (page_size: 25, parallelism: 1). On DataHub Cloud, a long run can end with status ABORTED and this line in the run report:
Ingestion was aborted due to worker pod eviction, crash, or restart.
Retries of the same long run can end the same way.
You Might Be Asking
- Why does my Redash ingestion show ABORTED and never finish?
- How can I make Redash ingestion faster?
- What do
page_sizeandparallelismdo for Redash? - Can I change the executor settings myself on DataHub Cloud?
Cause
The ABORTED status and the report line above mean the executor worker that ran your ingestion was evicted, crashed or restarted. On DataHub Cloud, the hosted executor runs on DataHub-managed infrastructure. You can't see its internal events and you can't change its memory, health probes or abort threshold. The Cloud executor marks a run as stale when the time since its last update goes past a server-side threshold, so the ABORTED status can appear some time after the run stopped.
A shorter run has less time to be interrupted. With defaults, the Redash source lists items 25 per call (page_size: 25) and works through the pages one at a time (parallelism: 1).
Solution
Step 1: Check the pattern
Look at the run history for your Redash source. This pattern points to an executor interruption and not a Redash connector error:
- The status is
ABORTED. - The report shows the
Ingestion was aborted due to worker pod eviction, crash, or restart.line.
Step 2: Shorten the Redash run with page_size and parallelism
Two Redash recipe keys control how the run is split (see Redash config details):
-
page_size(default 25) is the number of items fetched in each list call. A larger value means fewer list calls. -
parallelism(default 1) is the number of pages processed at the same time. Each worker handles one page. Inside a page, the connector fetches each query's details one after another. Soparallelism: 4runs up to 4 pages at once, not 4 queries. The setting applies to dashboards as well as queries.
To change them:
- Open your Redash source in the DataHub UI. The page is called Data Sources in the redesigned navigation (under Admin) and Ingestion in the older navigation.
- Open the source's actions menu on the Sources tab. Choose Edit to open the recipe. If you don't have edit rights on the source, or it was created from the CLI, the menu shows View and you can't change the recipe there.
- Add
page_sizeandparallelismto theconfigblock next to your existing keys:
source:
type: redash
config:
connect_uri: "https://<your-redash-instance>/"
api_key: "${REDASH_API_KEY}"
page_size: 100
parallelism: 4
- Save the recipe and run it manually to see the new run time.
Higher parallelism sends more requests to your Redash server at the same time. Raise it in steps and check the load on Redash. If Redash struggles, lower parallelism.
Step 3: Use a current CLI version
Upgrade to the latest release. The latest released acryl-datahub is 1.7.0.20. On DataHub Cloud, set the CLI version in the source's Advanced Settings (see UI Ingestion).
Step 4: Contact DataHub Support if runs still abort
If runs still end as ABORTED after you shorten them, contact DataHub Support. Include:
- The ingestion source names or URNs.
- Run history that shows the abort times, including other sources that aborted at the same time.
- The usual run time of each affected source.
Step 5: Confirm the fix
- The run no longer ends as
ABORTED. A finished run shows Success in the UI. - The run time is lower than before.
- Later scheduled runs also finish.