elasticsearch.bat启动闪退的详细解决方案

中文翻译:原因:X-Pack不支持,机器学习不适用[windows-x86];您可以通过在elasticsearch.yml中设置xpack.ml.enabled: false来使用其他X-Pack特性(不支持)

Caused by: org.elasticsearch.ElasticsearchException:
 X-Pack is not supported and Machine Learning is not available for [windows-x86]; 
you can use the other X-Pack features (unsupported) by 
setting xpack.ml.enabled: false in elasticsearch.yml

解决方法:

修改es文件夹目录下\config\elasticsearch.yml

添加一行配置就能解决

xpack.ml.enabled: false

elasticsearch.bat启动闪退的详细解决方案_第1张图片

 elasticsearch.bat启动闪退的详细解决方案_第2张图片

 成功启动~

elasticsearch.bat启动闪退的详细解决方案_第3张图片

你可能感兴趣的:(Exception及错误处理,elasticsearch,大数据,搜索引擎)