stackabletech / docker-images

Apache License 2.0
15 stars 2 forks source link

fix: add jaxb library no longer bundled with hadoop #688

Closed adwk67 closed 2 months ago

adwk67 commented 2 months ago

Description

fixes https://github.com/stackabletech/hive-operator/issues/468.

Recent changes to the hadoop image resulted in a missing logging dependency (jackson-module-jaxb-annotations was originally bundler with the hadoop yarn client): this PR adds the missing specific version. Start-up scripts for hadoop functions check various env-vars, even if the associated modules are never run. To avoid errors with the initialisation of these scripts default values have been set where necessary.

Local testing with repo: docker.stackable.tech/sandbox/yarnless-hive :-

--- PASS: kuttl (1193.36s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/kerberos-s3_postgres-12.5.6_hive-3.1.3_openshift-false_s3-use-tls-true_kerberos-realm-PROD.MYCORP_kerberos-backend-mit (315.83s)
        --- PASS: kuttl/harness/logging_postgres-12.5.6_hive-3.1.3_openshift-false (167.48s)
        --- PASS: kuttl/harness/orphaned-resources_hive-latest-3.1.3_openshift-false (124.31s)
        --- PASS: kuttl/harness/cluster-operation_hive-latest-3.1.3_openshift-false (75.79s)
        --- PASS: kuttl/harness/resources_hive-3.1.3_openshift-false (41.52s)
        --- PASS: kuttl/harness/smoke_postgres-12.5.6_hive-3.1.3_openshift-false_s3-use-tls-true (95.33s)
        --- PASS: kuttl/harness/kerberos-hdfs_postgres-12.5.6_hive-3.1.3_hdfs-latest-3.3.6_zookeeper-latest-3.9.2_openshift-false_kerberos-realm-PROD.MYCORP_kerberos-backend-mit (372.61s)

Definition of Done Checklist

- [ ] Changes are OpenShift compatible
- [x] All added packages (via microdnf or otherwise) have a comment on why they are added
- [x] 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
- [x] Add an entry to the CHANGELOG.md file
- [x] 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: ```shell bake --product --image-version kind load docker-image --name= ``` See the output of `bake` to retrieve the image tag for ``.