2021-12-14 update: The image here was converted to a standalone metastore with the postgres jdbc interface. The new standalone images will include metastore
in their tag name.
Docker Image build of Hive from RHEL UBI base image. This includes mysql, postgresql jdbc interfaces.
- Branch from
main
- Make changes
- Increment build number file value
- Commit and Push
- Create PR merging into
main
- Get reviewed and approved
- Check available releases here. If current version is desired version, then stop unless you need a different hadoop image tag.
- Checkout
main
and pull - Update
Dockerfile
:ENV METASTORE_VERSION
setting it to the version required. - Execute
get_metastore_version.sh
to make sure that the output matches the new hive version. - Increment the value in
image_build_num.txt
using themake bump-image-tag
command. - Run a test build by executing
pr_check.sh
. - If successful, remove
LABEL quay.expires-after=3d
fromDockerfile
then commit changes and push branch. - Create a PR, this should execute a PR check script.
- If successful, get approval and merge.
get_metastore_version.sh
: Get the current hive standalone-metastore version from theDockerfile
.get_image_tag.sh
: Return the image tag made from the metastore version and the build number fromimage_build_num.txt
docker-build-dev.sh
: Executes a local test build of the docker image.
pr_check.sh
: PR check script (You should not need to modify this)build_deploy.sh
: Build and deploy to Red Hat cloudservices quay org. (You should not need to modify this script)
This image supports arbitrary user ids
by using the packaged /entrypoint.sh
as container command to add UID and
username.
Notice: the default username is hadoop
, customize it by providing an
environment variable named USER_NAME
.