I use yum install elasticsearch 5.1.1 (three nodes), before install x-pack, the elasticsearch clluster correct,
but then install x-pack restrat elasticsearch all nodes failed...
[2017-01-10T15:32:40,128][INFO ][o.e.x.m.e.Exporters ] [elastic-2] skipping exporter [default_local] as it isn't ready yet
[2017-01-10T15:32:40,134][ERROR][o.e.x.m.AgentService ] [elastic-2] exception when exporting documents
org.elasticsearch.xpack.monitoring.exporter.ExportException: exporters are either not ready or faulty
at org.elasticsearch.xpack.monitoring.exporter.Exporters.export(Exporters.java:188) ~[x-pack-5.1.1.jar:5.1.1]
at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.run(AgentService.java:208) [x-pack-5.1.1.jar:5.1.1]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Could you please shut down all nodes, and re-install x-pack on all nodes? Then please re-start the nodes.
It could be that you didn't start up the elected master node before other ones. The elected master node is the one that adds the templates to the cluster, which the rest of the local exporters wait to see before running (default_local).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.