# Waiting for elected master node \[null\] to setup local exporter \[default\_local\]?

**URL:** <https://discuss.elastic.co/t/waiting-for-elected-master-node-null-to-setup-local-exporter-default-local/85498>\
**Category:** Elasticsearch\
**Created:** [May 12, 2017, 2:34am UTC](https://discuss.elastic.co/t/waiting-for-elected-master-node-null-to-setup-local-exporter-default-local/85498 "2017-05-12T02:34:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LmYjQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lmyjq/32/97480_2.png) [@LmYjQ](https://discuss.elastic.co/u/LmYjQ)\
**Post date:** [May 12, 2017, 2:34am UTC](https://discuss.elastic.co/t/waiting-for-elected-master-node-null-to-setup-local-exporter-default-local/85498/1 "2017-05-12T02:34:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![LmYjQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lmyjq/32/97480_2.png) [@LmYjQ](https://discuss.elastic.co/u/LmYjQ)\
**Post date:** [May 12, 2017, 2:49am UTC](https://discuss.elastic.co/t/waiting-for-elected-master-node-null-to-setup-local-exporter-default-local/85498/2 "2017-05-12T02:49:30Z")

</div>

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

```

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/1/71dcd09f556e93ae99d9d9aee665adf8a21852c1.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 15, 2017, 1:45am UTC](https://discuss.elastic.co/t/waiting-for-elected-master-node-null-to-setup-local-exporter-default-local/85498/3 "2017-05-15T01:45:27Z")

</div>

What's your config look like.

---

<div class="post-metadata">

**Author:** ![LmYjQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lmyjq/32/97480_2.png) [@LmYjQ](https://discuss.elastic.co/u/LmYjQ)\
**Post date:** [May 15, 2017, 3:32am UTC](https://discuss.elastic.co/t/waiting-for-elected-master-node-null-to-setup-local-exporter-default-local/85498/4 "2017-05-15T03:32:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 12, 2017, 3:44am UTC](https://discuss.elastic.co/t/waiting-for-elected-master-node-null-to-setup-local-exporter-default-local/85498/5 "2017-06-12T03:44:17Z")

</div>

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