FileAlreadyExistsException .es_temp_file


(Vsevolod Kaimashnikov) #1

Hi.
I have elasticsearch 5.1.2 and I faced with

Caused by: java.nio.file.FileAlreadyExistsException: /usr/share/elasticsearch/data/nodes/0/indices/K1KZ1kgpRTCczI5rm03Q1g/1/.es_temp_file
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:?]
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) ~[?:?]
at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_111]
at java.nio.file.Files.createFile(Files.java:632) ~[?:1.8.0_111]
at org.elasticsearch.env.NodeEnvironment.tryWriteTempFile(NodeEnvironment.java:1033) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.env.NodeEnvironment.assertCanWrite(NodeEnvironment.java:1020) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:276) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.node.Node.<init>(Node.java:249) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.node.Node.<init>(Node.java:229) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.bootstrap.Bootstrap$6.<init>(Bootstrap.java:214) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:214) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:306) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-5.1.2.jar:5.1.2]

Also I found known issue which was fixed in 5.1.1


Please tell me what issue can be else in my case?


(David Pilato) #2

I think this has been fixed in 5.6.0 with


(Vsevolod Kaimashnikov) #3

I read not attentively history of first MR.
Thank you for information


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.