《《《 接上一条留言
启动第二个节点时遇到了新问题:都是在一台机器上http的port不能绑在同一个端口号上。
[2019-10-21T16:58:45,152][WARN ][o.e.b.BootstrapChecks ] [node2] 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
...
[2019-10-21T16:58:46,539][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node2] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: BindHttpException[Failed to bind to [9200]]; nested: BindException[Address already in use];
...
Caused by: org.elasticsearch.http.BindHttpException: Failed to bind to [9200]
...
Caused by: java.net.BindException: Address already in use
...
好解决,只对coordinator节点进行http访问,把模拟题改一改,再起一个单独的coordinator节点,然后只有这个节点指定http.port,也便于之后的Kibana访问。
展开