Skip to content

Commit fcdb3dc

Browse files
authored
chore(zookeeper): remove jmx exporter (#1161)
* chore(zookeeper): remove jmx exporter * add changelog entry
1 parent b53fedf commit fcdb3dc

File tree

4 files changed

+2
-48
lines changed

4 files changed

+2
-48
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ All notable changes to this project will be documented in this file.
124124
- kafka: Remove `3.7.1` and `3.8.0` ([#1117]).
125125
- spark-connect-client: Remove `3.5.5` ([#1142]).
126126
- spark-k8s: Remove the JMX exporter jar ([#1157]).
127+
- zookeeper: Remove jmx exporter ([#1161]).
127128

128129
[nifi-iceberg-bundle]: https://github.com/stackabletech/nifi-iceberg-bundle
129130
[#1025]: https://github.com/stackabletech/docker-images/pull/1025
@@ -188,6 +189,7 @@ All notable changes to this project will be documented in this file.
188189
[#1157]: https://github.com/stackabletech/docker-images/pull/1157
189190
[#1163]: https://github.com/stackabletech/docker-images/pull/1163
190191
[#1165]: https://github.com/stackabletech/docker-images/pull/1165
192+
[#1161]: https://github.com/stackabletech/docker-images/pull/1161
191193

192194
## [25.3.0] - 2025-03-21
193195

zookeeper/Dockerfile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@
77
FROM stackable/image/java-devel AS builder
88

99
ARG PRODUCT
10-
ARG JMX_EXPORTER
1110
ARG STACKABLE_USER_UID
1211

1312
# Copy patches into the builder
1413
COPY --chown=${STACKABLE_USER_UID}:0 zookeeper/stackable/patches/patchable.toml /stackable/src/zookeeper/stackable/patches/patchable.toml
1514
COPY --chown=${STACKABLE_USER_UID}:0 zookeeper/stackable/patches/${PRODUCT} /stackable/src/zookeeper/stackable/patches/${PRODUCT}
16-
# Copy JMX config into the builder
17-
COPY --chown=${STACKABLE_USER_UID}:0 zookeeper/stackable/jmx /stackable/jmx
1815

1916
USER ${STACKABLE_USER_UID}
2017
WORKDIR /stackable
@@ -38,12 +35,6 @@ mv zookeeper-assembly/target/bom.json /stackable/apache-zookeeper-${PRODUCT}-bin
3835
rm -rf /stackable/apache-zookeeper-${PRODUCT}-bin/docs
3936
rm /stackable/apache-zookeeper-${PRODUCT}-bin/README_packaging.md
4037

41-
# Download the JMX exporter jar from our own repo
42-
curl "https://repo.stackable.tech/repository/packages/jmx-exporter/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" \
43-
-o "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar"
44-
chmod +x "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar"
45-
ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/jmx/jmx_prometheus_javaagent.jar
46-
4738
# set correct groups
4839
chmod -R g=u /stackable
4940
EOF
@@ -72,7 +63,6 @@ LABEL \
7263
# Copy over the ZooKeeper binary folder
7364
COPY --chown=${STACKABLE_USER_UID}:0 --from=builder /stackable/apache-zookeeper-${PRODUCT}-bin /stackable/apache-zookeeper-${PRODUCT}-bin/
7465
COPY --chown=${STACKABLE_USER_UID}:0 --from=builder /stackable/zookeeper-${PRODUCT}-src.tar.gz /stackable
75-
COPY --chown=${STACKABLE_USER_UID}:0 --from=builder /stackable/jmx /stackable/jmx/
7666
COPY zookeeper/licenses /licenses
7767

7868
RUN <<EOF
@@ -89,7 +79,6 @@ ln -s /stackable/apache-zookeeper-${PRODUCT}-bin/ /stackable/zookeeper
8979
chown -h ${STACKABLE_USER_UID}:0 /stackable/zookeeper
9080

9181
# fix missing permissions
92-
chmod g=u /stackable/jmx
9382
chmod g=u /stackable/apache-zookeeper-${PRODUCT}-bin/
9483
EOF
9584

zookeeper/stackable/jmx/server.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.

zookeeper/versions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
# zookeeper: Execution spotbugs of goal com.github.spotbugs:spotbugs-maven-plugin:4.0.0:spotbugs failed: Java
88
# returned: 1 -> [Help 1]
99
"java-devel": "11",
10-
"jmx_exporter": "1.3.0",
1110
},
1211
]

0 commit comments

Comments
 (0)