问题描述
在MACOS上使用VMware Fusion 运行CentOs7系统部署es,运行elasticsearch -d 无异常信息提示。但是几秒后jps发现es进程终止
排查原因
查看输出的日志显示
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
解决方案
根据错误提示在elasticsearch.yml中最后一行加入xpack.ml.enabled: false配置项后重启es