为了账号安全,请及时绑定邮箱和手机立即绑定

Windows环境下启动集群失败了

bin/elasticsearch.bat

bin/elasticsearch.bat -Ehttp.port=8200 -Epath.data=node2

bin/elasticsearch.bat -Ehttp.port=7200 -Epath.data=node3

老师我在Windows上试图用这三条命令启动ES集群然后在后两个节点上报错了


报错信息是这样的

[2017-12-03T21:25:56,777][INFO ][o.e.t.TransportService   ] [ATkyypM] publish_address {127.0.0.1:9302}, bound_addresses {127.0.0.1:9302}, {[::1]:9302}
[2017-12-03T21:26:26,819][WARN ][o.e.n.Node               ] [ATkyypM] timed out while waiting for initial discovery state - timeout: 30s
[2017-12-03T21:26:27,105][INFO ][o.e.h.n.Netty4HttpServerTransport] [ATkyypM] publish_address {127.0.0.1:8200}, bound_addresses {127.0.0.1:8200}, {[::1]:8200}
[2017-12-03T21:26:27,105][INFO ][o.e.n.Node               ] [ATkyypM] started
[2017-12-03T21:26:59,913][INFO ][o.e.d.z.ZenDiscovery     ] [ATkyypM] failed to send join request to master [{3SVdKXZ}{3SVdKXZrTnmMMxxjZQ67tw}{XqQcs5jwRbSSQh5eURKzug}{127.0.0.1}{127.0.0.1:9300}], reason [ElasticsearchTimeoutException[java.util.concurrent.TimeoutException: Timeout waiting for task.]; nested: TimeoutException[Timeout waiting for task.]; ]



正在回答

1 回答

你在每一条命令后面加上 -Enetwork.host=127.0.0.1 试一下,怀疑是 网络问题导致的

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Windows环境下启动集群失败了

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号