求大佬答疑,日志上面好像没说错误。
[ymq@node3 root]$ grep -n '^[a-Z]' /opt/elasticsearch-5.5.2/config/elasticsearch.yml
17:cluster.name: ymq
23:node.name: node3
55:network.host: 0.0.0.0
59:http.port: 9200
68:discovery.zen.ping.unicast.hosts: ["node1", "node2","node3"]
72:discovery.zen.minimum_master_nodes: 2
[ymq@node3 root]$ tail -f /opt/elasticsearch-5.5.2/logs/elasticsearch.log
at org.elasticsearch.node.Node.<init>(Node.java:244) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:232) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:232) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.5.2.jar:5.5.2]
... 6 more
[2018-07-09T09:17:06,132][INFO ][o.e.n.Node ] [tqk94-y] stopping ...
[2018-07-09T09:17:06,233][INFO ][o.e.n.Node ] [tqk94-y] stopped
[2018-07-09T09:17:06,233][INFO ][o.e.n.Node ] [tqk94-y] closing ...
[2018-07-09T09:17:06,247][INFO ][o.e.n.Node ] [tqk94-y] closed
^C^Z
[1]+ Stopped tail -f /opt/elasticsearch-5.5.2/logs/elasticsearch.log
[ymq@node3 root]$ tail -f /opt/elasticsearch-5.5.2/logs/ymq.log
[2018-07-09T09:27:08,466][INFO ][o.e.p.PluginsService ] [node3] loaded module [transport-netty4]
[2018-07-09T09:27:08,467][INFO ][o.e.p.PluginsService ] [node3] no plugins loaded
[2018-07-09T09:27:12,260][INFO ][o.e.d.DiscoveryModule ] [node3] using discovery type [zen]
[2018-07-09T09:27:13,098][INFO ][o.e.n.Node ] [node3] initialized
[2018-07-09T09:27:13,098][INFO ][o.e.n.Node ] [node3] starting ...
[2018-07-09T09:27:13,265][INFO ][o.e.t.TransportService ] [node3] publish_address {10.0.0.42:9300}, bound_addresses {[::]:9300}
[2018-07-09T09:27:13,279][INFO ][o.e.b.BootstrapChecks ] [node3] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2018-07-09T09:27:16,391][INFO ][o.e.c.s.ClusterService ] [node3] detected_master {node2}{MahdnK_uS3KmS7mOWJoRng}{47j1w5YjTtKxjGF1PBYioA}{10.0.0.41}{10.0.0.41:9300}, added {{node1}{oPrR5ajUQH-kGYo23Olwwg}{E7RMfG9gQiatU1CiLGuxJw}{10.0.0.40}{10.0.0.40:9300},{node2}{MahdnK_uS3KmS7mOWJoRng}{47j1w5YjTtKxjGF1PBYioA}{10.0.0.41}{10.0.0.41:9300},}, reason: zen-disco-receive(from master [master {node2}{MahdnK_uS3KmS7mOWJoRng}{47j1w5YjTtKxjGF1PBYioA}{10.0.0.41}{10.0.0.41:9300} committed version [3]])
[2018-07-09T09:27:16,442][INFO ][o.e.h.n.Netty4HttpServerTransport] [node3] publish_address {10.0.0.42:9200}, bound_addresses {[::]:9200}
[2018-07-09T09:27:16,442][INFO ][o.e.n.Node ] [node3] started
0 个回复