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