Area: Deployment
Sub-Area: Upgrades
Applies to: OSS + Cloud
Issue
After you upgrade DataHub, ingestion fails, or you see a client and server version warning from the CLI. Ingestion runs may also not start.
You may see this CLI warning:
-
❗Client-Server Incompatible❗ Your client version X is older than your server version Y(or "newer than")
You Might Be Asking
- Which CLI version should I use after an upgrade?
- Why does the CLI warn about a version mismatch?
- Where do I check my executors in the DataHub Cloud UI?
Cause
The CLI and the server can run different versions after an upgrade. Self-hosted DataHub checks this and prints the warning above. It then recommends pip install 'acryl-datahub==<server version>'.
DataHub Cloud uses a different versioning scheme, so the CLI skips this check for Cloud servers. A Cloud server version (v2.x) is not a CLI version (1.x).
Solution
Self-hosted DataHub
- Review Breaking Changes by Version for the version you upgraded to.
- Run
datahub version --include-server. This prints the CLI version, the models version and the Python version, and it also prints the server config.datahub versionalone does not show the server. - If the CLI prints the "Client-Server Incompatible" warning, install the version it recommends:
pip install 'acryl-datahub==<server version>'.
Before you upgrade, back up the metadata_aspect_v2 table. See Backup and Restore.
DataHub Cloud
- Open the release notes for your Cloud version and find the "Recommended Versions" section. It lists the CLI/SDK version to use. For Cloud v2.4.4, it is CLI/SDK 1.7.0.19. Install it with
pip install 'acryl-datahub==1.7.0.19'. - Check that your Remote Executor version is compatible with your Cloud version. For v2.4.4, Remote Executor images v2.2.0-cloud through v2.4.4-cloud are listed as compatible. For v0.3.12, Remote Executors older than v0.3.11.1-acryl do not work, and v0.3.12.4-acryl is recommended.
- To check your executors, click Data Sources in the left navigation. This opens the Manage Data Sources page (
/ingestion). Use the Sources tab for your ingestion sources and the Executors tab for executor status. Settings > Integrations does not hold these pages. - If ingestion still fails after these checks, contact DataHub Support. Include the Cloud version, your CLI/SDK version and the error text.
Related Documentation
Tags: upgrade, deployment, compatibility, troubleshooting