You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "avshenuk (via GitHub)" <gi...@apache.org> on 2025/07/04 12:31:52 UTC
[I] Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink [pinot]
avshenuk opened a new issue, #16283:
URL: https://github.com/apache/pinot/issues/16283
When starting Pinot from this Docker image and using Prometheus agent configuration from the documentation:
```
-javaagent:/opt/pinot/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent.jar=8008:/opt/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml
```
fails with
```
Error occurred during initialization of VM
Error opening zip file or JAR manifest missing : /opt/pinot/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent.jar
agent library failed Agent_OnLoad: instrument
```
The problem seems to be the broken symlink:
```
ls -l /opt/pinot/etc/jmx_prometheus_javaagent
total 548
-rw-r--r-- 1 root root 2073 Jul 3 23:06 README.md
drwxr-xr-x 2 root root 4096 Jul 3 23:06 configs
-rw-r--r-- 1 root root 544974 Jul 3 23:06 jmx_prometheus_javaagent-0.18.0.jar
lrwxrwxrwx 1 root root 64 Jul 3 23:06 jmx_prometheus_javaagent.jar -> etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent-0.18.0.jar
```
(the path is neither relative, nor absolute)
Using the path to the versioned JAR file instead works just fine:
```
-javaagent:/opt/pinot/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent-0.18.0.jar=8008:/opt/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink [pinot]
Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on issue #16283:
URL: https://github.com/apache/pinot/issues/16283#issuecomment-3046570685
I think this is fixed for the latest images.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink [pinot]
Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 closed issue #16283: Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink
URL: https://github.com/apache/pinot/issues/16283
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink [pinot]
Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on issue #16283:
URL: https://github.com/apache/pinot/issues/16283#issuecomment-3046351901
Triggering a new build for testing the fix: https://github.com/apachepinot/pinot-fork/actions/runs/16126489975
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink [pinot]
Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on issue #16283:
URL: https://github.com/apache/pinot/issues/16283#issuecomment-3046341875
Thanks
I will take a look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink [pinot]
Posted by "avshenuk (via GitHub)" <gi...@apache.org>.
avshenuk commented on issue #16283:
URL: https://github.com/apache/pinot/issues/16283#issuecomment-3047566702
@xiangfu0 Yep, works now. Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Docker image "latest-21-amazoncorretto" has broken JMX agent's symlink [pinot]
Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on issue #16283:
URL: https://github.com/apache/pinot/issues/16283#issuecomment-3046572271
<img width="1013" height="657" alt="Image" src="https://github.com/user-attachments/assets/791bac76-6fdb-4eb6-811c-8716a8404851" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org