opensearch-project / performance-analyzer

📈 Get detailed performance metrics from your cluster independently of the Java Virtual Machine (JVM)
https://opensearch.org/docs/latest/monitoring-plugins/pa/index/
Apache License 2.0
32 stars 66 forks source link

Since upgrade from 2.9 to 2.11 I get several warnings "Fail to read queue capacity via reflection" during startup #597

Closed thomass4t closed 4 weeks ago

thomass4t commented 7 months ago

What is the bug? During startup several warnings are logged (37 lines of the same message): [WARN ][o.o.p.c.ThreadPoolMetricsCollector] [xxx] Fail to read queue capacity via reflection

How can one reproduce the bug? Steps to reproduce the behavior:

What is the expected behavior? Startup without this warning or at least showing the root cause of the warning

What is your host/environment?

Do you have any additional context? The warnings occured after upgrading opensearch from 2.9 to 2.11

The class ThreadPoolMetricsCollector is logging the warning, but the exception itself is not logged. So, no further information about the deeper lying error is reported.

Maybe the logging can be adjusted to figure out the root cause (if the reason of the warning can't be found)

dblock commented 4 weeks ago

[Triage -- attendees 1, 2, 3, 4, 5, 6, 7]

Is this still an issue in newer versions @thomass4t?

HoffmannTom commented 4 weeks ago

It seems not to occur in version 2.13.0 any more.

thomass4t commented 4 weeks ago

Sorry.. used my private account before. It seems not to occur in version 2.13.0 any more. :)