fix: Fix CI failure due to integration test's Hive install - #3174
Merged
laskoviymishka merged 1 commit intoSep 8, 2026
Conversation
Signed-off-by: Jannik Steinmann <jannik.steinmann@datadoghq.com>
DerGut
marked this pull request as ready for review
September 8, 2026 12:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
What changes are included in this PR?
The Hive Metastore test image currently installs
curlthrough Debian Bullseye before downloading its Hadoop AWS dependencies.Debian Bullseye reached end of LTS support on August 31, 2026. Its final
bullseye-securityrepository metadata subsequently expired, causingapt-get updateto fail while building the integration-test environment. This also affected unrelated PRs such as #3170.This change removes the unnecessary Debian package-manager dependency. Docker now downloads the two required JARs directly from Maven Central using
ADD:hadoop-aws3.1.0aws-java-sdk-bundle1.11.271Both downloads are pinned to their SHA-256 checksums, and their permissions are explicitly set to
0644so that the non-roothiveuser can load them.The Hive, Hadoop, and AWS SDK versions remain unchanged. This is intentional: Hive 3 is EOL, but upgrading to Hive 4 requires a separate migration because the current Rust HMS Thrift client is not fully compatible with Hive 4.
Are these changes tested?
Yes.
dev/hms/Dockerfiledirectly with Docker.hive-metastoreservice throughdev/docker-compose.yaml, matching the CI build path.hiveuser.git diff --check.No new automated test is included because this only changes how existing, checksum-pinned test dependencies are installed. The existing integration-test suite exercises the resulting Hive Metastore image.
AI Disclosure
AI assistance was used to inspect the CI failure, investigate the Debian and Hive lifecycle, draft the Dockerfile change, and identify relevant validation. I reviewed the resulting change and ran the validation commands listed above.