Elasticsearch 错误小结

报错:

[2019-01-15T12:36:59,779][ERROR][o.e.b.Bootstrap          ] Exception
java.lang.IllegalStateException: failed to obtain node locks, tried [[/mnt/elasticsearch/data/my-application]] 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.yml 配置文件最后添加 node.max_local_storage_nodes: 2

猜你喜欢

转载自blog.51cto.com/qiangsh/2342821