"stacktrace": ["org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to obtain node locks, tried [[/usr/share/elasticsearch/data]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?",
"at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-7.3.0.jar:7.3.0]",
"at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-7.3.0.jar:7.3.0]",
"at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.3.0.jar:7.3.0]",
"at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[el
Rancher入门到精通-failed to obtain node locks, tried [[/usr/share/elasticsearch/data]] with lock id [0]
最新推荐文章于 2024-01-08 21:45:26 发布
本文介绍了在使用Rancher过程中遇到的Elasticsearch节点锁获取失败的问题,详细步骤包括通过`ps -ef | grep elastic`检查占用进程,使用`kill -9 pid`终止相关进程,并配置Elasticsearch参数`node.max_local_storage_nodes`设为15来避免冲突。
摘要由CSDN通过智能技术生成