opendistro-for-elasticsearch / performance-analyzer

📈 OpenDistro Performance Analyzer
https://opendistro.github.io/
Apache License 2.0
146 stars 49 forks source link

Warning on ES service status - An illegal reflective access operation has occurred #214

Open sarthi2395 opened 4 years ago

sarthi2395 commented 4 years ago

Describe the bug I installed a RPM based OpenDistro on my Centos7 server and added it as a system service as specified in the installation documents. When I check the status of the service, I get a couple of warnings that asks me to report it to the developers.

To Reproduce Steps to reproduce the behavior:

  1. Run
    systemctl status elasticsearch.service -l
  2. See error
systemd[1]: Starting Elasticsearch...
systemd[1]: Started Elasticsearch.
systemd-entrypoint[9149]: WARNING: An illegal reflective access operation has occurred
systemd-entrypoint[9149]: WARNING: Illegal reflective access by com.amazon.opendistro.elasticsearch.performanceanalyzer.collectors.MasterServiceEventMetrics (file:/usr/share/elasticsearch/plugins/opendistro_performance_analyzer/opendistro_performance_analyzer-1.10.1.0.jar) to field java.util.concurrent.ThreadPoolExecutor.workers
systemd-entrypoint[9149]: WARNING: Please consider reporting this to the maintainers of com.amazon.opendistro.elasticsearch.performanceanalyzer.collectors.MasterServiceEventMetrics
systemd-entrypoint[9149]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
systemd-entrypoint[9149]: WARNING: All illegal access operations will be denied in a future release

Configuration:

peterzhuamazon commented 4 years ago

According to the logs, this is an issue related to performance analyzer plugin. I have transferred this issue to the corresponding repo issues section. Thanks for reporting the issues here @sarthi2395

ktkrg commented 3 years ago

@sarthi2395 Thanks for reporting this issue. You can ignore this warning for now. We will work on removing this benign message.