How can you dump out all the configured parameters to verify that what's in the configuration file made it into the running system?
I added some new parameters parameters to my Elasticsearch node configuration and I wanted to confirm that they took effect. The parameters are the "routing" ones below:
However, when I tried to query the system for them, they don't show up. The log doesn't show any errors, but the following command doesn't confirm that the settings are in place:
I don't think there is a way of viewing the effective settings picked up from the config file. Keep in mind that the /_cluster/settings API only ever shows dynamic settings and never elasticsearch.yml settings, so your check isn't expected to work.
I'd set the disk based allocation watermarks as dynamic settings. Having to do a rolling restart of the cluster just to change that setting doesn't make sense.
OK, understood. In our environment, those parameters are configured via the Puppet module, which writes that configuration file. We don't expect to alter the settings after the fact. So what I'm going to assume is: if there isn't an error in the log, the settings we've defined in the yml file are in effect.
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.