018-08-07T23:50:13.172253813Z OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. 2018-08-07T23:50:14.318492274Z JNA Warning: IOException removing temporary files: JNA temporary directory '/tmp' is not writable 2018-08-07T23:50:14.334735465Z [2018-08-07T23:50:14,328][WARN ][o.e.b.Natives ] unable to load JNA native support library, native methods will be disabled. 2018-08-07T23:50:14.334759190Z java.lang.UnsatisfiedLinkError: Failed to create temporary file for /com/sun/jna/linux-x86-64/libjnidispatch.so library: JNA temporary directory '/tmp' is not writable 2018-08-07T23:50:14.334763625Z at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:962) ~[jna-4.5.1.jar:4.5.1 (b0)] ... ... ... etc...
Could someone help me to check what values is incorrect in my YML file?
It looks like you have /tmp not writable on your system. I see you try to set the jna tmpdir, but in ES_JVM_OPTS, which is not an env var elasticsearch looks for.
Error: container exited uncleanly with exit code 1 2018-08-08T18:19:58.795182383Z OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. 2018-08-08T18:20:00.131814223Z JNA Warning: IOException removing temporary files: JNA temporary directory '/var/lib.elasticsearch/tmp' does not exist 2018-08-08T18:20:00.141226642Z [2018-08-08T18:20:00,135][WARN ][o.e.b.Natives ] unable to load JNA native support library, native methods will be disabled. 2018-08-08T18:20:00.141244199Z java.lang.UnsatisfiedLinkError: Failed to create temporary file for /com/sun/jna/linux-x86-64/libjnidispatch.so library: JNA temporary directory '/var/lib.elasticsearch/tmp' does not exist 2018-08-08T18:20:00.141248892Z at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:962) ~[jna-4.5.1.jar:4.5.1 (b0)] 2018-08-08T18:20:00.141253001Z at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922) ~[jna-4.5.1.jar:4.5.1 (b0)] 2018-08-08T18:20:00.141256438Z at com.sun.jna.Native.(Native.java:190) ~[jna-4.5.1.jar:4.5.1 (b0)] 2018-08-08T18:20:00.141260012Z at java.lang.Class.forName0(Native Method) ~[?:?] 2018-08-08T18:20:00.141262958Z at java.lang.Class.forName(Class.java:291) ~[?:?] 2018-08-08T18:20:00.141266021Z at org.elasticsearch.bootstrap.Natives.(Natives.java:45) [elasticsearch-6.3.2.jar:6.3.2] 2018-08-08T18:20:00.141269474Z at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:103) [elasticsearch-6.3.2.jar:6.3.2] 2018-08-08T18:20:00.141272525Z at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:171) [elasticsearch-6.3.2.jar:6.3.2] 2018-08-08T18:20:00.141275633Z at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:326) [elasticsearch-6.3.2.jar:6.3.2] 2018-08-08T18:20:00.141278555Z at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) [elasticsearch-6.3.2.jar:6.3.2] 2018-08-08T18:20:00.141281687Z at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127) [elasticsearch-6.3.2.jar:6.3.2] ... ... ... etc
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.