解决:Elasticsearch without machine learning functionality set [xpack.ml.enabled: false] | 少将全栈
  • 欢迎访问少将全栈,学会感恩,乐于付出,珍惜缘份,成就彼此、推荐使用最新版火狐浏览器和Chrome浏览器访问本网站。
  • 吐槽,投稿,删稿,交个朋友
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏少将全栈吧

解决:Elasticsearch without machine learning functionality set [xpack.ml.enabled: false]

Linux admin 5年前 (2019-09-11) 8322次浏览 已收录 扫描二维码

最近在部署elasticsearch-7.3.1时遇到如下问题

org.elasticsearch.bootstrap.StartupException: 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].]

 

解决:Elasticsearch without machine learning functionality set [xpack.ml.enabled: false]

关键词:xpack.ml.enabled: false

进入config目录下在elasticsearch.yml添加一条配置:

xpack.ml.enabled: false

解决:Elasticsearch without machine learning functionality set [xpack.ml.enabled: false]

问题解决,正常访问。这个错误是因为在Centos中运行了Macos下的es安装包,换成linux的包,正常启动。

喜欢 (8)
[🍬谢谢你请我吃糖果🍬🍬~]
分享 (0)
关于作者:
少将,关注Web全栈开发、项目管理,持续不断的学习、努力成为一个更棒的开发,做最好的自己,让世界因你不同。