hazelcast / hazelcast-jet-docker

This repository contains Docker image for Hazelcast Jet open-source distributed computing platform built for high-performance stream processing and fast batch processing.
2 stars 12 forks source link

current latest image of hazelcast/hazelcast-jet on DockerHub fails to start with prometheus turned on #29

Open wrmay opened 4 years ago

wrmay commented 4 years ago

rmay_sorint@MacBook-Pro jet % docker run -e "JAVA_OPTS=-Dhazelcast.jmx=true" -e PROMETHEUS_PORT=8080 -it hazelcast/hazelcast-jet ########################################

JAVA_OPTS=-javaagent:/opt/hazelcast-jet/lib/jmx_prometheus_javaagent.jar=8080:/opt/hazelcast-jet/jmx_agent_config.yaml --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -Djava.net.preferIPv4Stack=true -Dhazelcast.logging.type=log4j2 -Dlog4j.configurationFile=file:/opt/hazelcast-jet/config/log4j2.properties -Djet.home=/opt/hazelcast-jet -Dhazelcast.config=/opt/hazelcast-jet/config/hazelcast.yaml -Dhazelcast.client.config=/opt/hazelcast-jet/config/hazelcast-client.yaml -Dhazelcast.jet.config=/opt/hazelcast-jet/config/hazelcast-jet.yaml -Dhazelcast.jmx=true

CLASSPATH=/opt/hazelcast-jet:/opt/hazelcast-jet/:/opt/hazelcast-jet/lib:/opt/hazelcast-jet/lib/

starting now....

########################################

The same command minus PROMETHEUS_PORT=8080 does start.

frant-hartm commented 4 years ago

@wrmay Thank you for reporting the issue.

Can you verify that you are running latest version by running

docker pull hazelcast/hazelcast-jet

and then trying your command again. We had this issue, but we fixed it recently in the docker image.