Description
The Hive Metastore Docker image should be refactored to build supported image variants according to the Apache Hive, Hadoop, and Java compatibility matrices.
The current docker/metastore_4x.version tracks:
metastore_version:
- ARG_METASTORE_VERSION=4.0.1
We should extend the image build strategy to support multiple Hive Metastore versions, including the latest supported Hive releases, while selecting the correct Java base image for each version line.
Goal
Build and publish multiple Hive Metastore Docker image variants based on verified compatibility between:
- Apache Hive Metastore version
- Apache Hadoop version
- Java runtime version
- Docker base image
Compatibility references
Initial compatibility target
Based on the current Apache Hive downloads page:
| Hive line |
Hadoop compatibility |
Java compatibility direction |
Docker image target |
| Hive 4.0.x |
Hadoop 3.3.6 |
should align with Hadoop 3.3.x Java support |
current 4.x baseline |
| Hive 4.1.x |
Hadoop 3.4.1 |
JDK 17 support |
Java 17 image variant |
| Hive 4.2.x |
Hadoop 3.4.1 |
JDK 21 minimum |
Java 21 image variant |
Proposed work
Acceptance criteria
Related PR
Follow-up to the Dependabot PR: #51
Description
The Hive Metastore Docker image should be refactored to build supported image variants according to the Apache Hive, Hadoop, and Java compatibility matrices.
The current
docker/metastore_4x.versiontracks:We should extend the image build strategy to support multiple Hive Metastore versions, including the latest supported Hive releases, while selecting the correct Java base image for each version line.
Goal
Build and publish multiple Hive Metastore Docker image variants based on verified compatibility between:
Compatibility references
Apache Hive downloads and compatibility information:
https://hive.apache.org/general/downloads/
Apache Hadoop documentation:
https://hadoop.apache.org/docs/current
Apache Hadoop Java compatibility matrix:
https://cwiki.apache.org/confluence/display/HADOOP/Hadoop+Java+Versions
Initial compatibility target
Based on the current Apache Hive downloads page:
Proposed work
docker/metastore_4x.versionto support multiple Hive Metastore versions.eclipse-temurinbase image for each supported Hive Metastore version.Acceptance criteria
Related PR
Follow-up to the Dependabot PR: #51