You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
There seems to be a bug in java, which causes this error when running on overlay2 docker driver
[2020-03-03T09:49:24,727][ERROR][org.elasticsearch.bootstrap.Bootstrap] Exception
java.lang.IllegalStateException: failed to obtain node locks, tried [[/usr/share/elasticsearch/data]] with lock id [0]; maybe these locations are not writable or multip
at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:299) ~[elasticsearch-7.3.2.jar:7.3.2]
.....
Caused by: java.io.IOException: failed to obtain lock on /usr/share/elasticsearch/data/nodes/0
at org.elasticsearch.env.NodeEnvironment$NodeLock.(NodeEnvironment.java:221) ~[elasticsearch-7.3.2.jar:7.3.2]
at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:269) ~[elasticsearch-7.3.2.jar:7.3.2]
... 12 more
Caused by: java.io.IOException: Mount point not found
at sun.nio.fs.LinuxFileStore.findMountEntry(LinuxFileStore.java:105) ~[?:?]
Thank you for doing this research! Hopefully alpine 3.11 or 3.12's java will fix this? I'll pin this for now, as I am not sure it is better to use old Java to support overlay2 or to wait for better Java 11.
Hello,
There seems to be a bug in java, which causes this error when running on overlay2 docker driver
Seems to be discussed here:
https://stackoverflow.com/questions/41022393/mount-point-not-found
https://bugs.openjdk.java.net/browse/JDK-8165852
The text was updated successfully, but these errors were encountered: