Hello
I want to the up "Elasticsearch" cluster with multiply nodes (3 or more) on a single server.
Can I use for all of my data nodes one directory? : path.data: /var/lib/elasticsearch
What risks at this case?
How need to be done by BestPractise?
This is not a best practice to run multiple nodes on the same physical machine.
You can do it if you have more than 64gb of RAM for example but unless you have that I'd not really do it unless I have a very good reason to do so.
Why do you want to do that?
To answer your question:
Can I use for all of my data nodes one directory?
Yes you can (it will require that you change another setting though) but I'd prefer having 3 different dirs, one per node instead.
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.