Area: Ingestion Issues
Sub-Area: Remote Executor / Queue Processing
Applies to: Cloud
Issue
An ingestion source stays in Pending with no output. DataHub has queued the run for a Remote Executor pool, but no executor picks it up. The executor can look healthy in the UI, with a recent last reported time, and still not take work. The status ping comes from a separate discovery thread and does not check task intake. A fresh status alone does not prove the executor is taking work.
You Might Be Asking
- Why does my ingestion run stay in Pending even though the executor shows as Active?
- What is the difference between the executor status ping and task pickup?
- How do I confirm my Remote Executor can reach SQS and the other endpoints it needs?
- Will restarting the executor fix a stuck Pending run?
- Why does the executor not pick up runs for my pool?
- If my network blocks the Python package index, do runs silently return to Pending?
Cause
Common causes:
- The executor cannot reach a required endpoint over outbound HTTPS (port 443).
- The executor's pool ID does not exactly match the Pool Identifier in the UI.
- The executor uses a different channel (SQS or KAFKA) than its pool.
- The executor is at its concurrency limit, so extra tasks wait in the queue.
- The executor pod stalled, crashed or ran out of memory.
Solution
Step 1: Find the executor pool for the source
- Go to Data Sources and open the source to edit it (see Assigning ingestion sources to an executor pool).
- On the Connection Details page, expand Advanced Settings and note the Executor Pool.
- The
defaultpool uses the managed executor that DataHub Cloud provides. This article covers pools you run with a Remote Executor.
Step 2: Check executor health in the UI
Go to Data Sources > Executors. For each pool, the page shows the active executors, each one's last reported time, its status (Active or Stale), and the ingestion tasks running now. It also shows the pool's Channel (SQS or KAFKA). See Monitoring.
Step 3: Verify the pool ID and channel
- The executor's pool must exactly match the Pool Identifier in the UI. Helm sets it with
--set global.datahub.executor.pool_id="<pool>". Docker usesDATAHUB_EXECUTOR_POOL_ID. - If
DATAHUB_EXECUTOR_POOL_IDis unset, the executor uses the legacyDATAHUB_EXECUTOR_WORKER_ID. If both are unset, the pool isdefault. - The executor must use the same channel as its pool. For Kafka-channel pools, Helm uses
--set global.datahub.executor.channel="KAFKA"(default SQS), and Docker or ECS usesDATAHUB_EXECUTOR_MODE=kafka-worker.
See Configuring Remote Executor.
Step 4: Verify outbound connectivity
The Remote Executor needs outbound HTTPS (port 443) only. It needs no inbound connectivity. Allow these endpoints:
-
https://<your-company>.acryl.io/*(DataHub API) -
https://sqs.*.amazonaws.com/*(task dispatch; not needed for Kafka-channel pools) - A Python package index. The docs recommend an internal mirror for production.
- The container registry that hosts the executor image
The DataHub URL you configure on the executor must be https://<your-company>.acryl.io/gms for Helm and ECS. Docker's DATAHUB_GMS_HOST takes the raw domain without /gms. See Configuration prerequisites.
From inside the executor pod, test SQS reachability:
curl -v https://sqs.<your-aws-region>.amazonaws.com
Any HTTP response, even 403, means the network path works. A hang, timeout or refused connection means a proxy, firewall or network policy blocks outbound access. Check for network changes since the executor last processed a run.
Step 5: Review executor logs
kubectl logs <executor-pod-name> -n <your-namespace> --since-time="<YYYY-MM-DDTHH:MM:SSZ>"
- On startup the container prints
Starting datahub executor worker (Celery/SQS)orStarting datahub executor worker (DataHub Bridge). - Look for network errors or connection timeouts.
- Package installs happen after the executor picks up a run. If an install fails, for example because the package index is blocked, the run log shows
❌ Venv setup failed: <error>and the run fails withFailed to set up virtual environment: <error>. This is a failed run, not a silent return to Pending.
If a source cannot reach the package index, you have these options:
- Route installs through an internal mirror. Set
UV_INDEX_URL(andUV_EXTRA_INDEX_URLif needed) in the executor's own environment. The executor installs with uv. See Ingestion executor security. - Allow your package index hosts through the firewall.
- Use a bundled image and set the source's CLI Version (Advanced Settings) to
bundled. The run then uses a pre-built venv with no runtime install. If CLI Version is empty,latestor a version number, the run still builds a dynamic venv from the package index. See Bundling additional connectors.
Step 6: Restart the executor
If logs show no errors and the pool and channel match, restart the executor:
kubectl rollout restart deployment/<executor-deployment-name> -n <your-namespace>
Restarting a busy executor aborts its running runs, so do it when you can afford that. Do not automate restarts based on log silence.
Step 7: Re-trigger if needed
Trigger the source again. The sweeper keeps at most one Running or Pending run per source. If you trigger a source that already has a Pending run, and nothing is running, the newer run is kept and the older one is marked Duplicate. This is expected. If a run is Running, only that one is kept.
To stop a Running run, use Cancel in the Run History row menu. You need permission to execute the source. Cancelling a running execution does not remove data already ingested.
The sweeper does not restart Pending runs. It cancels a Pending run with pending timeout once it has waited too long (2 days by default). A Running run with no update for an hour is marked Aborted. If it is still the source's latest request, DataHub can restart it automatically. These thresholds are set on the DataHub Cloud side. To change them, contact DataHub Support.
Other checks
-
Capacity:
DATAHUB_EXECUTOR_INGESTION_MAX_WORKERSdefaults to 4 concurrent ingestion tasks per executor. Extra tasks wait until there is capacity. You can raise it on your executor (raise CPU with it) or add replicas. Each task also has a weight. The total weight of running tasks cannot exceed 1.0. Set a heavier weight for one source with{"EXECUTOR_TASK_WEIGHT": "1.0"}in that source's Extra Environment Variables, not in the recipe. See Resource allocation. - Version: The executor does not need to match the DataHub server version exactly. Use an image from the compatible list in the release notes for your DataHub Cloud version. For v2.4.4 that is v2.2.0-cloud through v2.4.4-cloud.
-
Crash or OOM: Run
kubectl describe pod <executor-pod-name> -n <your-namespace>to check for recent restarts or out-of-memory kills. -
Metrics: The executor serves Prometheus metrics on port 9087, for example
curl http://<executor-host>:9087/metrics. Port 8080 is not the metrics port.
When you contact DataHub Support, include the Executor Pool of the source, executor logs from the time the run entered Pending, and any recent network, proxy or executor version changes.
Related Documentation
- Configuring Remote Executor
- Remote Executor overview
- Monitoring
- Best practices
- Bundling additional connectors
- Ingestion executor security
- UI ingestion
Tags: ingestion, pending, remote-executor, SQS, kubernetes, pod-restart, connectivity, executor-pool, worker-process, cloud