Skip to content

Commit 415cee7

Browse files
committed
Documents the two issues with native-image zookeeper
for Yolean/kubernetes-kafka#311
1 parent a2d3f56 commit 415cee7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

native/zookeeper-server-start.Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ ARG classpath=/home/nonroot/slf4j-simple-1.7.28.jar:/opt/kafka/bin/../libs/slf4j
77

88
COPY configs/zookeeper-server-start /home/nonroot/native-config
99

10+
# Remaining issues:
11+
# - java.lang.NoClassDefFoundError: Could not initialize class org.apache.zookeeper.server.admin.JettyAdminServer
12+
# which is fine because https://github.com/apache/zookeeper/blob/release-3.5.7/zookeeper-server/src/main/java/org/apache/zookeeper/server/admin/AdminServerFactory.java
13+
# documents that admin server is optional and it's only at startup
14+
# - WARN org.apache.zookeeper.server.ZooKeeperServer - Failed to register with JMX
15+
# java.lang.NullPointerException at org.apache.zookeeper.jmx.MBeanRegistry.register(MBeanRegistry.java:108)
16+
# is very annoying because it happens a lot so it fills logs
17+
1018
RUN native-image \
1119
--no-server \
1220
-H:+ReportExceptionStackTraces \

0 commit comments

Comments
 (0)