Area: Deployment
Sub-Area: Remote Executor
Applies to: Cloud
Issue
You deployed the Remote Executor and it doesn't start, can't connect to DataHub Cloud, or doesn't pick up ingestion runs.
You Might Be Asking
- Why doesn't my Remote Executor start or pick up work?
- What do I need to set when I install the Remote Executor on Kubernetes?
- How do I find my executor pod and read its logs?
Cause
The Remote Executor is a DataHub Cloud feature that you deploy and run in your own environment. If it doesn't start or doesn't get work, check these settings:
- The executor pool exists, and its pool ID is set on the executor.
- The Cloud URL ends with
/gms. - The access token is a Remote Executor token, not a personal access token.
- The executor can reach DataHub Cloud over outbound HTTPS (port 443) and can pull the image from the private registry.
- The executor uses the same channel as its pool (SQS or Kafka).
Solution
1. Check the prerequisites
- Your DataHub user has the Manage Metadata Ingestion privilege. This privilege lets you create the pool and see the Remote Executor token type.
- Your DataHub user has the Generate Personal Access Tokens privilege. Without it, the Generate new token menu on Settings > Access Tokens is disabled.
- You have a Remote Executor access token. Create it at Settings > Access Tokens > Generate new token, and choose type Remote Executor. Don't use a personal access token.
- You have your Cloud URL with the
/gmssuffix, for examplehttps://<company>.acryl.io/gms. - The executor has outbound HTTPS (port 443) only, with no inbound access. It must reach
https://<company>.acryl.io/*,https://sqs.*.amazonaws.com/*(not needed on the Kafka channel), a Python package index, and the container registry that hosts the image. - DataHub has given you access to the private image registry:
- On ECS or AWS, give DataHub your AWS account ID through your DataHub representative or a secure sharing service. This lets your account pull from the private DataHub Cloud ECR.
- On EKS, give DataHub the IAM principal that pulls from ECR.
- On GKE, give DataHub the cluster's IAM service account.
- On other platforms, contact DataHub.
Details: Configuration prerequisites.
2. Create an executor pool
In the DataHub UI, go to Data Sources (left sidebar) > Executors tab > Create. Enter a Pool Identifier, and optionally set Default Pool. Click Create. You need the pool ID when you install the executor.
3. Install on Kubernetes
Create the token secret:
kubectl create secret generic datahub-access-token-secret --from-literal=datahub-access-token-secret-key=<TOKEN>
Install the chart:
helm repo add acryl https://executor-helm.acryl.io
helm repo update
helm install \
--set global.datahub.executor.pool_id="remote" \
--set global.datahub.gms.url="https://<company>.acryl.io/gms" \
acryl-executor-worker acryl/datahub-executor-worker
-
global.datahub.executor.pool_idandglobal.datahub.gms.urlare required. The URL must include/gms. - The token comes from the Kubernetes secret, not from the values.
- Set
global.datahub.executor.channeltoKAFKAonly if your pool uses the Kafka channel. The default is SQS. Kafka-channel pools need Remote Executor v2.3.0 or later and Helm chart 0.0.70 or later. - The executor must use the same channel as its pool, or it gets no work. The Channel column under Data Sources > Executors shows SQS or KAFKA.
- To set environment variables, use
extraEnvs:in the chart values as a list of- name:andvalue:entries. The full list of options is in the chart's values.yaml.
Details: Deploy on Kubernetes.
4. Common errors
-
Image pull errors: The image registry is private. Confirm that DataHub has granted your account or IAM principal access, and that you use a valid tag. Tags look like
v2.4.4-cloud. Use an image from the Recommended Versions list in the release notes for your server version. -
Connection failed: Check network connectivity, the DataHub URL (with
/gms), the Executor Pool ID and the access token. - Authentication failures: Use a token of type Remote Executor, not a personal access token.
-
No work arrives: Check that the executor's channel matches its pool's channel. On Kubernetes, the setting is
global.datahub.executor.channel. -
Log message
GMS returned no executor configs, unable to proceed.: GMS returned no serving, non-embedded executor pool to the worker. The worker retries until it gets one. Check the pool and channel settings under Data Sources > Executors. - Secret access failed: Check secret names, permissions and secret format.
- Container failed to start: Check resource limits, registry access and container logs.
5. Find the pod and read the logs
Your deployment name and namespace depend on how you installed the chart. Look them up first:
kubectl get deployments -n <your-namespace>
kubectl get pods -n <your-namespace>
kubectl logs -f deployment/<deployment-name> -n <your-namespace>
An SQS worker prints Starting datahub executor worker (Celery/SQS) at startup. A Kafka worker prints Starting datahub executor worker (DataHub Bridge).
To check status in the UI, go to Data Sources > Executors. Each pool shows its active executors, last reported time and status (Active or Stale).
6. Upgrade
helm repo update acryl
helm upgrade --reuse-values --set <key>="<value>" acryl-executor-worker acryl/datahub-executor-worker
See Update Kubernetes Deployment.
If you run executor image v2.1.6-cloud on the SQS channel, upgrade to v2.1.7-cloud or later. That version looks healthy but never receives messages.
Other platforms
The Remote Executor also runs on Amazon ECS (Fargate, with CloudFormation or Terraform) and on Docker for testing. The setup guide covers these. For other container platforms, contact DataHub.