No known master node问题

在 Elasticsearch 集群中,一个节点在重启后遇到'No known master node'错误,无法重新连接到集群。通过检查并修改elasticsearch.yml配置文件,解决了这一问题,确保了日志显示正常。
摘要由CSDN通过智能技术生成

ES集群重启一个节点后,该节点无法加入集群,报错信息:

[2017-02-14 14:35:31,868][ERROR][marvel.agent.exporter    ] [es-06] error adding the marvel template to [[0:0:0:0:0:0:0:0]:9200] response code [503 Service Unavailable]. content: [{"error":"MasterNotDiscoveredException[waited for [30s]]","status":503}]
[2017-02-14 14:35:31,868][ERROR][marvel.agent.exporter    ] [es-06] failed to verify/upload the marvel template to [[0:0:0:0:0:0:0:0]:9200]:Server returned HTTP response code: 503 for URL:http://[0:0:0:0:0:0:0:0]:9200/_template/marvel]

修改配置文件 elasticsearch.yml

network.host: 该节点IP

报错信息:

[2017-02-14 14:46:56,012][DEBUG][action.admin.indices.template.put] [es-06] observer: timeout notification from cluster service. timeout setting [30s], time since start [30s]
[2017-02-14 14:46:56,014][ERROR][marvel.agent.exporter] [ies-06] error adding the marvel template to [该节点IP:9200] resp
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值