Open celesteking opened 3 years ago
Guys, have you actually tested this before rolling out?
Jun 7 15:59:11 dev9 performance-analyzer-agent-cli[9987]: 15:59:11.641 [pa-reader] ERROR com.amazon.opendistro.elasticsearch.performanceanalyzer.reader.ReaderMetricsProcessor - Error reading file '/usr/share/elasticsearch/data/batch_metrics_enabled.conf': java.nio.file.NoSuchFileException: /usr/share/elasticsearch/data/batch_metrics_enabled.conf
Jun 7 15:59:13 dev9 performance-analyzer-agent-cli[9987]: 15:59:13.925 [pa-reader] ERROR com.amazon.opendistro.elasticsearch.performanceanalyzer.reader.ReaderMetricsProcessor - Error reading file '/usr/share/elasticsearch/data/batch_metrics_enabled.conf': java.nio.file.NoSuchFileException: /usr/share/elasticsearch/data/batch_metrics_enabled.conf
Jun 7 15:59:14 dev9 systemd-entrypoint[9986]: WARNING: An illegal reflective access operation has occurred
Jun 7 15:59:14 dev9 systemd-entrypoint[9986]: WARNING: Illegal reflective access by com.amazon.opendistro.elasticsearch.performanceanalyzer.collectors.MasterServiceEventMetrics (file:/usr/share/elasticsearch/plugins/opendistro-performance-analyzer/opendistro-performance-analyzer-1.13.0.0.jar) to field java.util.concurrent.ThreadPoolExecutor.workers
Jun 7 15:59:14 dev9 systemd-entrypoint[9986]: WARNING: Please consider reporting this to the maintainers of com.amazon.opendistro.elasticsearch.performanceanalyzer.collectors.MasterServiceEventMetrics
Jun 7 15:59:14 dev9 systemd-entrypoint[9986]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Jun 7 15:59:14 dev9 systemd-entrypoint[9986]: WARNING: All illegal access operations will be denied in a future release
Jun 7 15:59:14 dev9 systemd[1]: Started Elasticsearch.
Looks like systemctl stop opendistro-performance-analyzer
is the only viable solution.
It's not, it's still polluting main ES log. This is ridiculous. I didn't ask for it and I'd like to get rid of it. This is a default config that was supposed to come with sane defaults, not debugging info that has zero relevance to me.
[2021-06-07T16:36:05,527][INFO ][stats_log ] [xx] ------------------------------------------------------------------------
Program=PerformanceAnalyzerPlugin
rca-version=0.0.1
Metrics=
StartTime=0.000
EndTime=Mon, 07 Jun 2021 16:36:05 CDT
Time=1623101765526 msecs
Timing=total-time:1.623101765526E12/1
Counters=
EOE
[2021-06-07T16:36:05,527][INFO ][stats_log ] [xx] ------------------------------------------------------------------------
Program=PerformanceAnalyzerPlugin
rca-version=0.0.1
Metrics=
StartTime=0.000
EndTime=Mon, 07 Jun 2021 16:36:05 CDT
Time=1623101765527 msecs
Timing=total-time:1.623101765527E12/1
Counters=
EOE
how to wish fix it ??
Jun 25 10:24:06 elk systemd-entrypoint[11403]: WARNING: An illegal reflective access operation has occurred
Jun 25 10:24:06 elk systemd-entrypoint[11403]: WARNING: Illegal reflective access by com.amazon.opendistro.elasticsearch.performanceanalyzer.collectors.MasterServiceEventMetrics (file:/usr>
Jun 25 10:24:06 elk systemd-entrypoint[11403]: WARNING: Please consider reporting this to the maintainers of com.amazon.opendistro.elasticsearch.performanceanalyzer.collectors.MasterServic>
Jun 25 10:24:06 elk systemd-entrypoint[11403]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Jun 25 10:24:06 elk systemd-entrypoint[11403]: WARNING: All illegal access operations will be denied in a future release
Jun 25 10:24:06 elk systemd[1]: Started Elasticsearch.
These errors are shown using default config. This is wrong. There should be no errors output to user because user would be thinking there's some sort of problem, while it seems there's none.
opendistro-performance-analyzer-1.13.0.0-1.noarch
Thanks.