Skip to content

Conversation

@maltesander
Copy link
Member

Description

This adds the hive-metastore-opa-authorizer to the Hive docker image.

Build from source using patchable, forked to stackabletech.

For version 4.x.x the non shaded jar is used. The shaded one does not work (self-built or downloaded).

part of stackabletech/hive-operator#388

Definition of Done Checklist

Note

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.

Please make sure all these things are done and tick the boxes

  • Changes are OpenShift compatible
  • All added packages (via microdnf or otherwise) have a comment on why they are added
  • Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
  • All packages should have (if available) signatures/hashes verified
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

boil build <IMAGE> --image-version <RELEASE_VERSION> --strip-architecture --load
kind load docker-image <MANIFEST_URI> --name=<name-of-your-test-cluster>

See the output of boil to retrieve the image manifest URI for <MANIFEST_URI>.

@maltesander maltesander moved this from Development: In Progress to Development: Waiting for Review in Stackable Engineering Nov 10, 2025
@dervoeti dervoeti self-requested a review November 13, 2025 07:59
@dervoeti dervoeti moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Nov 13, 2025
Copy link
Member

@dervoeti dervoeti left a comment

Choose a reason for hiding this comment

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

Works fine, three remarks:

  1. Hive 4.0.0 was removed. Was that intentional? If yes, I would mention it in the changelog.
  2. We should use our patched version of Hadoop to build hive-metastore-opa-authorizer, like we do in Hive itself (the JARS are copied with this command, so Maven uses these local JARs instead of pulling the original ones)
  3. pre-commit complains: https://github.com/stackabletech/docker-images/actions/runs/19209697811/job/54910095564?pr=1340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: In Review

Development

Successfully merging this pull request may close these issues.

3 participants