Area: Deployment
Sub-Area: Version Management
Applies to: Cloud
Issue
After you upgrade DataHub Cloud, ingestion logs from an older CLI can show a "Client-Server Incompatible" warning. The warning says your CLI version is newer than your server version and recommends a downgrade. The release notes recommend a different CLI version, so it is unclear which one to use.
Warning text (exact text from acryl-datahub 1.7.0.20):
❗Client-Server Incompatible❗ Your client version X is newer than your server version Y. Downgrading the cli to Y is recommended.
You Might Be Asking
- What CLI version should I use with my DataHub Cloud server version?
- Why does the warning tell me to downgrade when the release notes say otherwise?
- Do I need to update my Remote Executor image when I upgrade?
- How do I check my server version?
Cause
DataHub Cloud server versions (for example v2.4.4) and CLI versions (for example 1.7.0.19) use different numbering. An older CLI compares the two unrelated numbers and prints the warning. Current CLIs (1.7.0.20) skip this check when the server reports itself as DataHub Cloud, so you don't see the warning on a current CLI.
Solution
Follow the release notes, not the warning
- Open the DataHub Cloud release notes.
- Find your server version and read its "Recommended Versions" section.
- Use the CLI/SDK version listed there. For example, v2.4.4 recommends CLI/SDK 1.7.0.19. The v0.3.13 notes recommend 1.2.0.6.
- To pin the version for runs started from the UI, set the CLI Version field under Advanced Settings on the ingestion source. See Advanced Settings and Using a bundled venv.
If you use an older CLI and see the warning, follow the release notes instead of the warning. A current CLI doesn't print the warning for Cloud servers.
Update the Remote Executor image
The Remote Executor image doesn't have to match the server version exactly. The "Recommended Versions" section of each release lists the Remote Executor images that work with that server. Run one of them. For example, v1.x images are not in the v2.4.4 list, so an executor on v1.0.0-cloud must be upgraded.
Image tags look like v2.4.2-cloud. Older v0.3.x releases used the -acryl suffix, for example v0.3.13.2-acryl. The image is datahub-executor, from the private DataHub Cloud registry. Don't use public acryldata/datahub-ingestion images for the Remote Executor.
Steps by deployment type (full details in the setup guide):
-
Kubernetes: run
helm repo update acryl, thenhelm upgrade --reuse-values --set <key>="<value>" acryl-executor-worker acryl/datahub-executor-worker. See Update Kubernetes Deployment. -
ECS with CloudFormation: in the CloudFormation console, select the stack, then Update > Replace current template > Upload a template file. Change parameters such as
ImageTag, acknowledge the IAM capabilities, and choose Update stack. Unchanged parameters keep their values. -
ECS with Terraform: set
datahub.image_tag(for example"v2.4.2-cloud"), or bump the module?ref=tag, then runterraform apply. Module tags and image tags are versioned independently.
See Deploy on Amazon ECS.
If your executor uses the SQS channel, don't run v2.1.6-cloud. It looks healthy but never receives messages. Use v2.1.7-cloud or later.
Check your versions
- CLI:
datahub version. - Server:
datahub version --include-server(needsdatahub init), orcurl -X GET 'https://<account>.acryl.io/api/gms/config' --header <token>.