Fix HBase Docker build failures due to outdated buster repositories#4826
Closed
Fix HBase Docker build failures due to outdated buster repositories#4826
Conversation
|
|
- Update HBase base image from openjdk:8-jre-buster to openjdk:8-jre-bullseye to fix apt-get update failures (buster repositories are no longer accessible) - Update default HBase version from 2.5.0 to 2.6.0 to match the version used in HBaseContainer.java - Update dist builder image from debian:buster-slim to debian:bullseye-slim to prevent similar apt-get issues Signed-off-by: Boxuan Li <liboxuan@connect.hku.hk>
2442612 to
3f99047
Compare
Member
Author
|
not sure why EasyCLA is failing, maybe because the commit has two authors? |
|
/easycla |
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.
Description
This PR fixes HBase test failures caused by Docker build issues where the
apt-get updatecommand was failing with exit code 100.Problem
The HBase tests were failing with the following error:
Root Cause
The issue was caused by using outdated base images:
openjdk:8-jre-busterin the HBase Dockerfiledebian:buster-slimin the dist DockerfileDebian Buster reached end-of-life and its repositories are no longer accessible via standard URLs, causing
apt-get updateto fail.Solution
openjdk:8-jre-bustertoopenjdk:8-jre-bullseyedebian:buster-slimtodebian:bullseye-slimHBaseContainer.javaThese changes maintain JDK8 compatibility while using more recent and supported Debian repositories.
Testing
busterremain in the codebaseFor all changes:
master)?For code changes:
Notes