ES系列:解决Cluster state has not been recovered yet, cannot write to the [null] index问题

ES系列:解决Cluster state has not been recovered yet, cannot write to the [null] index问题,第1张

ES系列:解决Cluster state has not been recovered yet, cannot write to the [null] index问题

ES启动报错:

ElasticSearch增加用户权限时,出现Cluster state has not been recovered yet, cannot write to the [null] index的解决办法

解决方法:

设置ElasticSearch的主节点配置,我们只需要在elasticsearch.yml配置文件中设置单节点或者集群节点的主节点名称即可:

cluster.initial_master_nodes: ["node-1"]

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5715438.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-18

发表评论

登录后才能评论

评论列表(0条)

保存