当前位置: 首页 > 工具软件 > CodeBe > 使用案例 >

ELASTICSEARCH-7.3.2报错:Failure running machine learning native code. This could be due to running

盛超
2023-12-01

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
 类似资料: