Area: Ingestion Issues
Sub-Area: Remote Executor / Executor Pool Connectivity
Applies to: Cloud
Issue
Ingestion runs for one Remote Executor pool stay in Pending. Runs that use other pools finish normally. The pending runs have no logs, because no executor has picked them up yet.
The executor still looks healthy in Data Sources > Executors. It keeps reporting its status to DataHub Cloud, but it never receives the runs. This happens when the pool uses the SQS channel and the executor host can no longer reach AWS SQS. A network change in the executor's VPC is the usual trigger: a security group rule, a route table, a NAT gateway, a network ACL, or an SQS VPC endpoint.
Error Messages
- The run status stays
Pendingand the run has no logs. - After 48 hours with no executor pickup, DataHub cancels the run. Its status changes to
Cancelledand its log contains:Ingestion was cancelled due to pending timeout.
You Might Be Asking
- Why are my ingestion runs stuck in Pending with no logs?
- Why is only one of my executor pools affected?
- My remote executor shows as Active. Why isn't it picking up runs?
- How do I tell if my remote executor lost access to SQS?
- Can I cancel a pending run, and why did my pending runs change to Cancelled?
Solution
-
Check the pool's channel.
In Data Sources > Executors, look at the Channel column for the pool. If it shows
SQS, the executor gets its work from an AWS SQS queue, and the steps below apply. If it showsKAFKA, the executor gets its work through your DataHub Cloud URL and does not use SQS. In that case, skip the SQS steps and check the executor's access to your DataHub Cloud URL. See Removing the SQS Dependency. -
Confirm the executor is in the right pool and on the right channel.
Each executor joins the pool set by its pool ID (
DATAHUB_EXECUTOR_POOL_IDfor Docker or ECS,global.datahub.executor.pool_idfor Helm). The pool ID must match the pool's Pool Identifier exactly. Then open the ingestion source, expand Advanced Settings, and check that Executor Pool is set to this pool.In the pool's executor list, check the Status column.
WaitingorIncompatiblemeans the executor runs on a different channel than the pool. An executor on the wrong channel gets no work. -
Don't treat an Active status as proof of SQS access.
The executor sends its status to your DataHub Cloud URL (
https://<your-company>.acryl.io/gms). It gets runs from SQS over a separate connection tohttps://sqs.<region>.amazonaws.com. A network change that blocks only SQS leaves the executorActivewhile it receives no runs. Each status report also writes aDiscovery: sending status updateline to the executor log.If the executor sends detailed status (DataHub 2.4.0 or later), click See more next to the executor. The Status tab shows the Work source (
SQS queue) and Last work received. See Checking Remote Executor status. -
Test the connection to SQS from the executor host.
Run this from the executor host, or from a host in the same subnet with the same security group:
curl -v https://sqs.<region>.amazonaws.comUse the AWS region of your pool's SQS queue. DataHub provides this queue to the executor, so it can be in a different region from your VPC. If you don't know the region, contact DataHub Support. Any HTTP status code in the output,
403included, means the host can reach SQS. A timeout or a connection error means something blocks the path. -
Restore outbound access to SQS.
The executor needs outbound HTTPS (port 443) to
https://sqs.*.amazonaws.com/*and to your DataHub Cloud URL. It needs no inbound access. See the network requirements in Configuring Remote Executor. Check recent changes to:- Security group outbound rules
- Route tables and the NAT gateway (an executor in a private subnet needs a NAT gateway for outbound traffic)
- Network ACLs
- The SQS VPC endpoint and its policy, if your VPC sends SQS traffic through one
- Proxy or firewall rules
-
Check the executor logs for SQS errors.
# Docker docker logs <executor-container-name> 2>&1 | grep -i sqs # Kubernetes kubectl logs -n <namespace> <executor-pod-name> | grep -i sqsFor ECS, open the service's logs in the AWS console.
-
Run the source again.
After you restore outbound access (see the network requirements in Configuring Remote Executor), click Run on the source. Confirm that the new run moves to
Running.You can't cancel a
Pendingrun from the UI. The run's Cancel action and the source's Stop button appear only for runs inRunningstatus. A pending run stays until an executor picks it up. If no executor picks it up, DataHub cancels it after 48 hours inPending.
Additional Notes
Each SQS pool has its own queue. That is why one pool can stop getting runs while other pools keep working. A pending run has no logs because no executor has started it. This doesn't mean logging is turned off.
To stop depending on SQS completely, you can move a pool to the Kafka channel. Pools on the Kafka channel only need to reach your DataHub Cloud URL. This option is in Beta and DataHub must turn it on for your instance. See Removing the SQS Dependency.
If the network checks pass and runs still stay in Pending, contact DataHub Support.