You can't do that, you need to have something like /data/elasticsearch/data0, /data/elasticsearch/data1, /data/elasticsearch/data2, ie specific directories for each node.
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.