How to resolve: Exception in thread "main" java.nio.file.NoSuchFileException: /tmp/elasticsearch-10045853791335045856

Linux: CentOS_7
JDK: openJDK_devel_8
ES Version: 7.12.0
Log:

4月 28 22:47:46 localhost.localdomain systemd[1]: Unit elasticsearch.service entered failed state.
4月 28 22:47:46 localhost.localdomain systemd[1]: elasticsearch.service failed.
4月 28 22:47:46 localhost.localdomain polkitd[655]: Unregistered Authentication Agent for unix-process:1394:279830 (system bus name :1.23, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale zh_CN.UTF-8) (disconnected from bus)
4月 28 22:47:47 localhost.localdomain bash[1400]: **Exception in thread "main" java.nio.file.NoSuchFileException: /tmp/elasticsearch-10045853791335045856**
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:388)
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/java.nio.file.Files.createDirectory(Files.java:694)
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:135)
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:172)
4月 28 22:47:47 localhost.localdomain bash[1400]: at java.base/java.nio.file.Files.createTempDirectory(Files.java:1011)
4月 28 22:47:47 localhost.localdomain bash[1400]: at org.elasticsearch.tools.launchers.Launchers.createTempDirectory(Launchers.java:55)
4月 28 22:47:47 localhost.localdomain bash[1400]: at org.elasticsearch.tools.launchers.TempDirectory.main(TempDirectory.java:43)
4月 28 23:01:01 localhost.localdomain systemd[1]: Started Session 3 of user root.

Welcome to our community! :smiley:

Please directly check the Elasticsearch logs and post them here.

Thanks for your reply.
I have solved it. It's a user's problem.