How elasticsearch.yml are coordinated between cluster nodes?

I would expect this question to be popular, but still cannot google the
answer.

If I have multiple ES nodes in the cluster, each having its own
configuration file (elasticsearch.yml) - what happens if some settings in
those files go out of sync? For instance, index creation config? Which
settings are going to take precedence? My gut feeling is that it would be
settings on the current master node, but I would like a confirmation.

Konstantin

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f763829e-ab50-47d3-95cb-e0ef36975396%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

There's what's called "cluster metadata", and that's where settings can be
overridden for a live cluster either permanently (to survive cluster
restart) or temporarily using the various REST APIs (see for example
cluster API). Some settings (mostly node specific configs) can only be
changed via manually editing elasticsearch.yml.

My advice to you would be to use Puppet, Chef or any other configuration
and deployment management tools to avoid unmoderated changes to
elasticsearch.yml

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Author of RavenDB in Action http://manning.com/synhershko/

On Fri, Sep 19, 2014 at 7:54 PM, Konstantin Erman konste@gmail.com wrote:

I would expect this question to be popular, but still cannot google the
answer.

If I have multiple ES nodes in the cluster, each having its own
configuration file (elasticsearch.yml) - what happens if some settings in
those files go out of sync? For instance, index creation config? Which
settings are going to take precedence? My gut feeling is that it would be
settings on the current master node, but I would like a confirmation.

Konstantin

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f763829e-ab50-47d3-95cb-e0ef36975396%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/f763829e-ab50-47d3-95cb-e0ef36975396%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHTr4Ztp-L10PyG-Xy343Dh1fsPCRRnutDFRE%2BDLV0gEr404_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.