报错信息
#报错信息
org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:593) ~[?:?]
解决办法
进入config目录下在elasticsearch.yml添加一条配置:
xpack.ml.enabled: false
说明:本人安装的elasticsearch 版本【7.16.0】