Caused by: java.lang.IllegalStateException: failed to obtain node locks, tried [[/elasticsearch-5.4.0/data/elasticsearch]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
当我在开启多个elasticsearch 实例时,遇到上述异常,解决方法是:在 config/elasticsearch.yml文件中新增一个配置变量:
node.max_local_storage_nodes: 256 #replace 256 with another num that greater than 1
本文介绍了解决在启动多个Elasticsearch实例时遇到的关于节点锁的问题,并提供了具体的配置修改步骤。
2148

被折叠的 条评论
为什么被折叠?



