Waiting for elected master node [null] to setup local exporter [default_local]?

I have three nodes in my cluster, and I have installed x-pack on elasticsearch

[2017-05-12T09:37:20,543][INFO ][o.e.x.m.e.l.LocalExporter] waiting for elected master node [null] to setup local exporter [default_local] (does it have x-pack installed?)
[2017-05-12T09:37:23,547][INFO ][o.e.c.s.ClusterService   ] [spiderman] detected_master {ironman}{1xnjNbURQSyptuBgEw8iPg}{xTeM_SnGSKmoX4TS1QbPvg}{10.10.0.212}{10.10.0.212:9300}, reason: zen-disco-receive(from master [master {ironman}{1xnjNbURQSyptuBgEw8iPg}{xTeM_SnGSKmoX4TS1QbPvg}{10.10.0.212}{10.10.0.212:9300} committed version [40445]])
[2017-05-12T09:37:23,695][INFO ][o.e.x.m.e.l.LocalExporter] waiting for elected master node [{ironman}{1xnjNbURQSyptuBgEw8iPg}{xTeM_SnGSKmoX4TS1QbPvg}{10.10.0.212}{10.10.0.212:9300}] to setup local exporter [default_local] (does it have x-pack installed?)
[2017-05-12T09:37:24,549][INFO ][o.e.d.z.ZenDiscovery     ] [spiderman] master_left [{ironman}{1xnjNbURQSyptuBgEw8iPg}{xTeM_SnGSKmoX4TS1QbPvg}{10.10.0.212}{10.10.0.212:9300}], reason [failed to ping, tried [3] times, each with  maximum [30s] timeout]
[2017-05-12T09:37:24,550][WARN ][o.e.d.z.ZenDiscovery     ] [spiderman] master left (reason = failed to ping, tried [3] times, each with  maximum [30s] timeout), current nodes: nodes: 
   {ironman}{1xnjNbURQSyptuBgEw8iPg}{xTeM_SnGSKmoX4TS1QbPvg}{10.10.0.212}{10.10.0.212:9300}, master
   {superman}{UNVollQ5QYKbhvVrkh6Ezw}{8ZxfF1OdRyuYx0gSIqnavg}{10.10.0.211}{10.10.0.211:9300}
   {spiderman}{hsonuFFpT-KQ6OEmFnMFfg}{rJm4ARK4QEONzzKV2C3nGw}{10.10.0.213}{10.10.0.213:9300}, local

and the status of elasticsearch

root@spiderman:/usr/share/elasticsearch# service elasticsearch status
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled)
   Active: active (running) since 四 2017-05-11 18:49:43 CST; 14h ago
     Docs: http://www.elastic.co
  Process: 11793 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
 Main PID: 11797 (java)
    Tasks: 167
   Memory: 2.7G
      CPU: 33min 40.962s
   CGroup: /system.slice/elasticsearch.service
           └─11797 /usr/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+Alwa

5月 11 18:49:43 spiderman systemd[1]: Starting Elasticsearch...
5月 11 18:49:43 spiderman systemd[1]: Started Elasticsearch.

What should I do now? Any feedback is appreciated.

UPDATE: node start but still couldn't connect.

[2017-05-12T10:44:04,527][INFO ][o.e.n.Node               ] [spiderman] initializing ...
[2017-05-12T10:44:04,729][INFO ][o.e.e.NodeEnvironment    ] [spiderman] using [1] data paths, mounts [[/data1 (/dev/mapper/ubuntu--vg-lvol0)]], net usable_space [5tb], net total_space [5.3tb], spins? [possibly], types [ext4]
[2017-05-12T10:44:04,729][INFO ][o.e.e.NodeEnvironment    ] [spiderman] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-05-12T10:44:04,781][INFO ][o.e.n.Node               ] [spiderman] node name [spiderman], node ID [hsonuFFpT-KQ6OEmFnMFfg]
[2017-05-12T10:44:04,781][INFO ][o.e.n.Node               ] [spiderman] version[5.3.1], pid[11492], build[5f9cf58/2017-04-17T15:52:53.846Z], OS[Linux/4.4.0-72-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_121/25.121-b13]
[2017-05-12T10:44:08,025][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [aggs-matrix-stats]
[2017-05-12T10:44:08,025][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [ingest-common]
[2017-05-12T10:44:08,025][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-expression]
[2017-05-12T10:44:08,025][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-groovy]
[2017-05-12T10:44:08,025][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-mustache]
[2017-05-12T10:44:08,026][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-painless]
[2017-05-12T10:44:08,026][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [percolator]
[2017-05-12T10:44:08,026][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [reindex]
[2017-05-12T10:44:08,026][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [transport-netty3]
[2017-05-12T10:44:08,026][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [transport-netty4]
[2017-05-12T10:44:08,027][INFO ][o.e.p.PluginsService     ] [spiderman] loaded plugin [analysis-smartcn]
[2017-05-12T10:44:08,027][INFO ][o.e.p.PluginsService     ] [spiderman] loaded plugin [x-pack]
[2017-05-12T10:44:10,880][DEBUG][o.e.a.ActionModule       ] Using REST wrapper from plugin org.elasticsearch.xpack.XPackPlugin
[2017-05-12T10:44:12,656][INFO ][o.e.n.Node               ] [spiderman] initialized
[2017-05-12T10:44:12,657][INFO ][o.e.n.Node               ] [spiderman] starting ...
[2017-05-12T10:44:13,207][INFO ][o.e.t.TransportService   ] [spiderman] publish_address {10.10.0.213:9300}, bound_addresses {[::]:9300}
[2017-05-12T10:44:13,216][INFO ][o.e.b.BootstrapChecks    ] [spiderman] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-05-12T10:44:16,852][INFO ][o.e.n.Node               ] [spiderman] stopping ...
[2017-05-12T10:44:16,881][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [spiderman] publish_address {10.10.0.213:9200}, bound_addresses {[::]:9200}
[2017-05-12T10:44:16,898][INFO ][o.e.n.Node               ] [spiderman] started
[2017-05-12T10:44:16,920][INFO ][o.e.n.Node               ] [spiderman] stopped
[2017-05-12T10:44:16,921][INFO ][o.e.n.Node               ] [spiderman] closing ...
[2017-05-12T10:44:16,948][INFO ][o.e.n.Node               ] [spiderman] closed
[2017-05-12T10:44:20,097][INFO ][o.e.n.Node               ] [spiderman] initializing ...
[2017-05-12T10:44:20,363][INFO ][o.e.e.NodeEnvironment    ] [spiderman] using [1] data paths, mounts [[/data1 (/dev/mapper/ubuntu--vg-lvol0)]], net usable_space [5tb], net total_space [5.3tb], spins? [possibly], types [ext4]
[2017-05-12T10:44:20,363][INFO ][o.e.e.NodeEnvironment    ] [spiderman] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-05-12T10:44:20,427][INFO ][o.e.n.Node               ] [spiderman] node name [spiderman], node ID [hsonuFFpT-KQ6OEmFnMFfg]
[2017-05-12T10:44:20,428][INFO ][o.e.n.Node               ] [spiderman] version[5.3.1], pid[11785], build[5f9cf58/2017-04-17T15:52:53.846Z], OS[Linux/4.4.0-72-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_121/25.121-b13]
[2017-05-12T10:44:22,778][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [aggs-matrix-stats]
[2017-05-12T10:44:22,778][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [ingest-common]
[2017-05-12T10:44:22,778][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-expression]
[2017-05-12T10:44:22,778][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-groovy]
[2017-05-12T10:44:22,778][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-mustache]
[2017-05-12T10:44:22,778][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [lang-painless]
[2017-05-12T10:44:22,778][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [percolator]
[2017-05-12T10:44:22,779][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [reindex]
[2017-05-12T10:44:22,779][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [transport-netty3]
[2017-05-12T10:44:22,779][INFO ][o.e.p.PluginsService     ] [spiderman] loaded module [transport-netty4]
[2017-05-12T10:44:22,779][INFO ][o.e.p.PluginsService     ] [spiderman] loaded plugin [analysis-smartcn]
[2017-05-12T10:44:22,780][INFO ][o.e.p.PluginsService     ] [spiderman] loaded plugin [x-pack]
[2017-05-12T10:44:25,035][DEBUG][o.e.a.ActionModule       ] Using REST wrapper from plugin org.elasticsearch.xpack.XPackPlugin
[2017-05-12T10:44:26,581][INFO ][o.e.n.Node               ] [spiderman] initialized
[2017-05-12T10:44:26,581][INFO ][o.e.n.Node               ] [spiderman] starting ...
[2017-05-12T10:44:27,017][INFO ][o.e.t.TransportService   ] [spiderman] publish_address {10.10.0.213:9300}, bound_addresses {[::]:9300}
[2017-05-12T10:44:27,032][INFO ][o.e.b.BootstrapChecks    ] [spiderman] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-05-12T10:44:57,067][WARN ][o.e.n.Node               ] [spiderman] timed out while waiting for initial discovery state - timeout: 30s
[2017-05-12T10:44:57,080][INFO ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [spiderman] publish_address {10.10.0.213:9200}, bound_addresses {[::]:9200}
[2017-05-12T10:44:57,084][INFO ][o.e.n.Node               ] [spiderman] started

What's your config look like.

Thank you Mark. This problem is solved by adding username and password setting in logstash.yml

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.