Skip to content

Conversation

@geruh
Copy link
Contributor

@geruh geruh commented Nov 4, 2025

What changes are included in this PR?

We had some failures in the Pyiceberg repo with the hive docker file here: apache/iceberg-python#2697, so I'm porting this over here.

The HMS test Dockerfile was using a deprecated openjdk:8-jre-slim base image that has very recently been removed from Docker Hub, causing build failures:

#7 ERROR: docker.io/library/openjdk:8-jre-slim: not found

Simplified the Dockerfile to use apache/hive:3.1.3 as the base image directly, also eliminating the multi-stage build pattern. Which removes the dependency on a deprecated OpenJDK image and will use what's included in hive, and maintains the same functionality for HMS integration tests.

Inspired by https://github.com/trinodb/docker-images/blob/master/testing/hive4.0-hive/Dockerfile

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

nit: could you change the title to 3.1.3 since we're still using hive 3.1.3 here?

pyiceberg and iceberg-rust are the only 2 repos affected by the openjdk:8 change, https://grep.app/search?f.repo.pattern=apache%2Ficeberg&q=openjdk%3A8

@liurenjie1024 liurenjie1024 merged commit e08bc61 into apache:main Nov 4, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants