-
Notifications
You must be signed in to change notification settings - Fork 57
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
[BUG] Performance Analyzer webserver on port 9600 not responding to any API calls (caused by JDK upgrade?) #545
Comments
Ran into this issue with the official docker containers. Tried 2.12 and 2.13, same problem. PA isn't usable. 2.11.1 appears to work fine. I feel like this is a config issue, but I don't know where. Its hard to imagine that no one has even tried to use PA in two whole releases. |
It is not a configuration issue. The code is broken. I think it started showing because JRE has been upgraded in 2.12 container. The old JRE had a bug in httpServer and it did not perform as per documentation so the above code worked. But in latest JRE they have fixed the issue, and adding same context twice will now throw exception on the second attempt. The 2 variables that define the context are hardcoded to same value in code and not configurable. |
same issue in OpenSearch 2.13, docker compose |
@ronnybremer @borutlukic As remediation for the JDK 21 issue with opensearch, we downgraded the JDK version used in the docker image to 17. Performance Analyzer now appears to work....? Example Dockerfile
|
This seems to be an issue in 2.16.0 as well. Any workarounds? or when can this fix is going to be available to OSS stream? Appreciate your help on this. |
Having the same exact issue in OS-2.15, resolved by setting java to jdk-17. |
I am encountering the same issue with docker image 2.17 (opensearchproject/opensearch:2.17.0):
Any updates on this? Thanks for letting me know. |
do we have any update on this? |
What is the bug?
Opensearch performance analyzer app throws exception on startup and is not working.
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
Expected is that the webserver API on port 9600 returns a response.
What is your host/environment?
Do you have any additional context?
See logs/PerformanceAnalyzer.log and notice:
Checking the source code it is clear that the same handler is added twice, so the createContext functions throws an exception on the second attempt.
Code from PerformanceAnalyzerApp.java:
The Util.METRICS_QUERY_URL and Util.LEGACY_OPENDISTRO_METRICS_QUERY_URL are equal.
The text was updated successfully, but these errors were encountered: