-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error opening zip file or JAR manifest missing jmx_prometheus_javaagent.jar:9200:/jmx-prometheus-kafka-metrics.yaml #878
Comments
Java agents hook into the JVM via the |
Can you provide the full command line for the process? |
-javaagent:/usr/bin/jmx_prometheus_javaagent.jar=9200:/etc/kafka/jmx-prometheus-kafka-metrics.yaml kafka.Kafka /usr/hdp/5.0.11.8/kafka/config/server.properties this part is releveant for us not whole java command |
The exporter jars are valid. Unzip correctly lists the contents and the MANIFEST.MF is correct. All integration tests pass. This appears to be an application startup issue. Have you checked permissions on the jar and exporter YAML file related to the account running Kafka? |
hi all we have an issue with .JAR file it is downloaded from this repo https://repo.maven.apache.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.20.0/jmx_prometheus_javaagent-0.20.0.jar
and indead .jar file doesn't have MAIN class definition
we are starting it using
KAFKA_OPTS="-javaagent:..../jmx_prometheus_javaagent.jar=9200:...jmx-prometheus-kafka-metrics.yaml"
how is then possible to start this jar file if it doesn't contain main class
The text was updated successfully, but these errors were encountered: