I run two instances in one node with the different "path.data" , but something goes very bad, the cluster always want to rebalance the shard number, not the data storage size, is it the correct way to do this ?
if I set both of instance with the same "path.data", will they work well ?
1st, don't create more than one node per machine. Unless you have more than 64 Gb of RAM, this is useless
2nd, if you create 2 nodes on the same machine, yes it's better that they have all their own data dir. In which case you will end up copying the same data again in both dirs (if you have a 2 nodes cluster).
But please explain what you are doing so we can give better advices.
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.