Our elasticsearch was working fine and it was storing index on path: $DATA_DIR/nodes/$nodeOrdinal
But suddenly it's down with the below error:
java.lang.IllegalStateException: failed to obtain node locks, tried [[DATA_DIR/Cluster_E3]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
It's searching for the cluster named folder, which was not happend before and there are no such folder inside DATA_DIR
what you see is just the error message that it tried to use the path with the cluster name since that is how 2.x worked. This is only there for backwards compatibility. Did you maybe still have an ES instance running on that node / datadir?
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.