ES7.2 安装问题


配置好环境变量ES_HOME:D:\ELK\elasticsearch-7.2.0。ES_TMPDIR:D:\ELK\estmpdir。如果要安装Logstash还需要配置JDK环境变量.   JAVA_HOME:D:\ELK\elasticsearch-7.2.0\jdk

1、配置network.host: 0.0.0.0 后,服务起不来。

查看log,是否报错

the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
解决方法:

elasticsearch.yml加上

cluster.initial_master_nodes: ["节点名字"]

2、indexname必须为小写字母

3、报错:Exception java.lang.SecurityException: Security misconfiguration: cannot access java.io.tmpdir

解决:elasticsearch.yml配置xpack.ml.enabled: false


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM