Skip to content

Commit 85536f3

Browse files
authored
Merge branch 'main' into feat/user-handling-pt2
2 parents 72a2c58 + d3231ba commit 85536f3

File tree

15 files changed

+292
-39
lines changed

15 files changed

+292
-39
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nix/** linguist-generated

CHANGELOG.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All notable changes to this project will be documented in this file.
1616
- trino: Add version `455` ([#822]).
1717
- trino-cli: Add version `455` ([#822]).
1818
- spark: Add version `3.5.2` ([#848]).
19-
- statsd-exporter: Bump version to 0.27.1 ([#866], [#879]).
19+
- statsd-exporter: Bump version to `0.27.1` ([#866], [#879]).
2020
- hadoop: Add patch "HADOOP-18516: Support Fixed SAS Token for ABFS Authentication" ([#852]).
2121
- hbase: Add hadoop-azure.jar to the lib directory to support the Azure Blob Filesystem and
2222
the Azure Data Lake Storage ([#853]).
@@ -27,8 +27,10 @@ All notable changes to this project will be documented in this file.
2727

2828
- ci: Rename local actions, adjust action inputs and outputs, add definition
2929
README file ([#819]).
30-
- Update cargo-cyclonedx to 0.5.5 and build CycloneDX 1.5 files ([#783])
31-
- Enable [Docker build checks](https://docs.docker.com/build/checks/) ([#872])
30+
- Update cargo-cyclonedx to 0.5.5 and build CycloneDX 1.5 files ([#783]).
31+
- Enable [Docker build checks](https://docs.docker.com/build/checks/) ([#872]).
32+
- java: migrate to temurin jdk/jre ([#894]).
33+
- tools: bump kubectl to `1.31.1` and jq to `1.7.1` ([#896]).
3234
- Make username, user id, group id configurable, use numeric ids everywhere, change group of all files to 0 ([#849], [#890])
3335

3436
### Removed
@@ -39,13 +41,14 @@ All notable changes to this project will be documented in this file.
3941
- kafka: Remove versions `3.4.1`, `3.6.1`, `3.6.2` ([#813]).
4042
- trino: Remove versions `414`, `442` ([#822]).
4143
- trino-cli: Remove version `451` ([#822]).
42-
- hbase: Remove 2.4.17 ([#846]).
43-
- omid: Remove 1.1.0 and 1.1.1 ([#846]).
44-
- spark: Remove 3.4.2 and 3.4.3 ([#848]).
45-
- statsd-exporter: Remove 0.26.1 ([#866]).
46-
- superset: Remove 2.1.3, 3.1.0 and 3.1.3 ([#866]).
47-
- zookeeper: Remove 3.8.4 ([#851]).
48-
- nifi: Remove 1.21.0 and 1.25.0 ([#868]).
44+
- hbase: Remove `2.4.17` ([#846]).
45+
- omid: Remove `1.1.0` and `1.1.1` ([#846]).
46+
- spark: Remove `3.4.2` and `3.4.3` ([#848]).
47+
- statsd-exporter: Remove `0.26.1` ([#866]).
48+
- superset: Remove `2.1.3`, `3.1.0` and `3.1.3` ([#866]).
49+
- zookeeper: Remove `3.8.4` ([#851]).
50+
- nifi: Remove `1.21.0` and `1.25.0` ([#868]).
51+
- druid: Remove `28.0.1` ([#880]).
4952

5053
### Fixed
5154

@@ -76,9 +79,12 @@ All notable changes to this project will be documented in this file.
7679
[#877]: https://github.com/stackabletech/docker-images/pull/877
7780
[#878]: https://github.com/stackabletech/docker-images/pull/878
7881
[#879]: https://github.com/stackabletech/docker-images/pull/879
82+
[#880]: https://github.com/stackabletech/docker-images/pull/880
7983
[#881]: https://github.com/stackabletech/docker-images/pull/881
8084
[#882]: https://github.com/stackabletech/docker-images/pull/882
8185
[#890]: https://github.com/stackabletech/docker-images/pull/890
86+
[#894]: https://github.com/stackabletech/docker-images/pull/894
87+
[#896]: https://github.com/stackabletech/docker-images/pull/896
8288

8389
## [24.7.0] - 2024-07-24
8490

druid/versions.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@
55
"java-devel": "11",
66
"authorizer": "0.5.0",
77
},
8-
{
9-
"product": "28.0.1",
10-
# Java 17 should be fully supported as of 27.0.0 https://github.com/apache/druid/releases#27.0.0-highlights-java-17-support
11-
# Did not work in a quick test due to reflection error:
12-
# Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class
13-
# java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError
14-
"java-base": "11",
15-
"java-devel": "11",
16-
"authorizer": "0.5.0",
17-
},
188
{
199
"product": "30.0.0",
2010
# https://druid.apache.org/docs/30.0.0/operations/java/

hive/versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"jmx_exporter": "1.0.1",
55
# Hive 4 must be built with Java 8 (according to GitHub README) but seems to run on Java 11
66
"java-base": "11",
7-
"java-devel": "1.8.0",
7+
"java-devel": "8",
88
"hadoop": "3.3.6",
99
# Keep consistent with the dependency from Hadoop: https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-aws/3.3.6
1010
"aws_java_sdk_bundle": "1.12.367",
@@ -16,7 +16,7 @@
1616
"jmx_exporter": "1.0.1",
1717
# Hive 3 must be built with Java 8 but will run on Java 11
1818
"java-base": "11",
19-
"java-devel": "1.8.0",
19+
"java-devel": "8",
2020
"hadoop": "3.3.6",
2121
# Keep consistent with the dependency from Hadoop: https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-aws/3.3.6
2222
"aws_java_sdk_bundle": "1.12.367",

java-base/Dockerfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,20 @@ LABEL name="Stackable image for OpenJDK" \
1717
summary="The Stackable OpenJDK base image." \
1818
description="This image is the base image for all Stackable Java product images."
1919

20-
# We need to use EPEL, as openjdk 22 is not shipped with UBI9
21-
RUN rpm --install --replacepkgs https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
20+
# See: https://adoptium.net/en-gb/installation/linux/#_centosrhelfedora_instructions
21+
RUN cat <<EOF > /etc/yum.repos.d/adoptium.repo
22+
[Adoptium]
23+
name=Adoptium
24+
baseurl=https://packages.adoptium.net/artifactory/rpm/rhel/\$releasever/\$basearch
25+
enabled=1
26+
gpgcheck=1
27+
gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public
28+
EOF
2229

2330
RUN microdnf update && \
2431
microdnf install \
25-
# Obviously needed to run Java programs
26-
java-${PRODUCT}-openjdk-headless \
32+
# Needed to run Java programs
33+
"temurin-${PRODUCT}-jre" \
2734
# Needed, because otherwise e.g. Zookeeper fails with
2835
# Caused by: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory)
2936
tzdata-java \
@@ -34,7 +41,7 @@ RUN microdnf update && \
3441

3542
COPY java-base/licenses /licenses
3643

37-
ENV JAVA_HOME=/usr/lib/jvm/jre-${PRODUCT}
44+
ENV JAVA_HOME="/usr/lib/jvm/temurin-${PRODUCT}-jre"
3845

3946
# This image doesn't include the development packages for Java.
4047
# For images that need the devel package (ex. Spark) use this env variable to

java-base/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
versions = [
22
{
3-
"product": "1.8.0",
3+
"product": "8",
44
"vector": "0.41.1",
55
},
66
{

java-devel/Dockerfile

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@ FROM stackable/image/stackable-base
99

1010
ARG PRODUCT
1111

12-
# We need to use EPEL, as openjdk 22 is not shipped with UBI9
13-
RUN rpm --install --replacepkgs https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
12+
# See: https://adoptium.net/en-gb/installation/linux/#_centosrhelfedora_instructions
13+
RUN cat <<EOF > /etc/yum.repos.d/adoptium.repo
14+
[Adoptium]
15+
name=Adoptium
16+
baseurl=https://packages.adoptium.net/artifactory/rpm/rhel/\$releasever/\$basearch
17+
enabled=1
18+
gpgcheck=1
19+
gpgkey=https://packages.adoptium.net/artifactory/api/gpg/key/public
20+
EOF
1421

1522
RUN microdnf update && \
1623
microdnf install -y \
@@ -27,9 +34,10 @@ RUN microdnf update && \
2734
gettext \
2835
# For the apply_patches.sh script
2936
git \
30-
# needed by the maven ant run plugin for the "set-hostname-property" step in zookeeper
37+
# Needed by the maven ant run plugin for the "set-hostname-property" step in zookeeper
3138
hostname \
32-
java-"${PRODUCT}"-openjdk-devel \
39+
# Needed for compiling Java projects
40+
"temurin-${PRODUCT}-jdk" \
3341
krb5-devel \
3442
libcurl-devel \
3543
make \
@@ -46,7 +54,7 @@ RUN microdnf update && \
4654
microdnf clean all && \
4755
rm -rf /var/cache/yum
4856

49-
ENV JAVA_HOME=/usr/lib/jvm/jre-${PRODUCT}
57+
ENV JAVA_HOME="/usr/lib/jvm/temurin-${PRODUCT}-jdk"
5058

5159
COPY --chown=stackable:0 java-devel/stackable/settings.xml /stackable/.m2/settings.xml
5260

java-devel/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
versions = [
22
{
3-
"product": "1.8.0",
3+
"product": "8",
44
"stackable-base": "1.0.0",
55
},
66
{

nix/sources.json

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)