-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[ML] Improve error message when the native controller fails to start #42341
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
Comments
Pinging @elastic/ml-core |
The comment above the line that throws the error suggests that it was not intended to be seen: elasticsearch/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java Lines 453 to 454 in f3c5dfd
But since that comment was written (for 5.4) other refactoring has obviously changed the point at which the problem of not being able to talk to the native controller is detected. |
The error message if the native controller failed to run (for example due to running Elasticsearch on an unsupported platform) was not easy to understand. This change removes pointless detail from the message and adds some hints about likely causes. Fixes elastic#42341
The error message if the native controller failed to run (for example due to running Elasticsearch on an unsupported platform) was not easy to understand. This change removes pointless detail from the message and adds some hints about likely causes. Fixes #42341
The error message if the native controller failed to run (for example due to running Elasticsearch on an unsupported platform) was not easy to understand. This change removes pointless detail from the message and adds some hints about likely causes. Fixes #42341
The error message if the native controller failed to run (for example due to running Elasticsearch on an unsupported platform) was not easy to understand. This change removes pointless detail from the message and adds some hints about likely causes. Fixes #42341
The error message if the native controller failed to run (for example due to running Elasticsearch on an unsupported platform) was not easy to understand. This change removes pointless detail from the message and adds some hints about likely causes. Fixes #42341
The native controller may fail on unsupported platforms if, for instance, a required library is missing. This prevents the node from starting:
The error message explains the cause but not the remedy. If ml is not required the solution is to disable it
xpack.ml.enabled: false
and the node will start fine.Relates to #41867
Also review the number of nested exceptions in the stack trace and cut the noise.
The text was updated successfully, but these errors were encountered: