Would passing expected nodes to elasticsearch as a command line parameter like this work?
"elasticsearch -Des.gateway.expected_nodes=2"
Would passing expected nodes to elasticsearch as a command line parameter like this work?
"elasticsearch -Des.gateway.expected_nodes=2"
You should be able to pass expected nodes to elasticsearch as a commandline parameter like so:
elasticsearch --gateway.expected_nodes=2
Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/_system_and_settings.html
Using -Des.gateway.expected_nodes=2
should work
I doubted whether this would work because when i tried the option -Des.bootstrap.mlockall=true it did not work, any idea why this did not work?
© 2020. All Rights Reserved - Elasticsearch
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.