-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
The jmx_prometheus_javaagent not work in Sparkapllication driver pod #75722
Comments
Hi @nozhang, Thank you for using Bitnami. Extra jars needs to be placed at /opt/bitnami/spark/jars/ as described in this section of the README file. You can see that Spark includes the jars in that folder when running the start command
If you think the Bitnami solution can be improved, you can always follow the contributing guides to suggest any change. The team will be more than happy to review the changes. |
Thank @jotamartos
However seems nothing changed.
|
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Hi @nozhang, I used the docker-compose file to mount the file and launch the container. I do not know what that "jmxExporterJar" parameter is and what you are using to deploy the container. I suggest you take a look a the docker-compose file and try launching the container that way. If you are using the Bitnami Spark chart, you will need to use the extraVolumeMounts parameter to mount that jar into the pod. |
Name and Version
bitnami/spark:3.5.3
What architecture are you using?
amd64
What steps will reproduce the bug?
I download jmx_prometheus_javaagent-0.11.0.jar to image
My SparkApllication.yaml is like this
What is the expected behavior?
The driver pod can run jmx_prometheus_javaagent as executor. And 8090 port is listening. Can
curl http://127.0.0.1:8090/metrics
in pod.What do you see instead?
When exec driver pod, 8090 not listening, and the jar not running
Additional information
I tried new version jmx_prometheus_javaagent-1.0.0.jar has same problem.
In the same K8s: same Spark operator, namespace, same yaml configuration etc apache/spark:3.5.3 is working.
The text was updated successfully, but these errors were encountered: