admin管理员组

文章数量:1618693

elasticsearch-7.3.2\logs目录下查找elasticsearch.log

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:497) ~[?:?]
    at org.elasticsearch.node.Node.lambda$new$9(Node.java:457) ~[elasticsearch-7.3.2.jar:7.3.2]

解决方法:

打开config目录下的elasticsearch.yml,添加如下一行配置:

xpack.ml.enabled: false

本文标签: 报错failurerunningElasticsearchCode