ES 部署常见问题

1、机器学习相关

 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 

使用windows server2012 r2版本部署,因为该机器默认配置不支持机器学习,所以部署时会报错,解决方案在elasticsearch.yml配置文件中加入

xpack.ml.enabled: false

禁用启动时关于ml的检查.

posted @ 2023-04-07 13:24  郑小超  阅读(117)  评论(0编辑  收藏  举报