您当前的位置: 首页 > 

杨林伟

暂无认证

  • 0浏览

    0关注

    3337博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

解决es集群启动完成后报master_not_discovered_exception

杨林伟 发布时间:2020-04-02 17:21:19 ,浏览量:0

es集群启动后,在浏览器输入:http://es ip地址:端口/_cat/nodes?pretty,会提示如下错误:

{ "error" : { "root_cause" : [ { "type" : "master_not_discovered_exception", "reason" : null } ], "type" : "master_not_discovered_exception", "reason" : null }, "status" : 503 }

在这里插入图片描述

解决方案:

在每个配置文件指定初始节点:

cluster.initial_master_nodes: node-1

在这里插入图片描述 重启ES集群,浏览器再次输入http://es ip地址:端口/_cat/nodes?pretty,就可以看到集群启动成功了: 在这里插入图片描述

关注
打赏
1662376985
查看更多评论
立即登录/注册

微信扫码登录

0.1117s