Cannot start docker image (elasticsearch 6.8

Hi all,
This morning I updated my Ubuntu (20.4) dev machine kernel to version 5.4.0-89.100.
When restarted my dev instance of Elasticsearch (6.8.2) was crashing with the following exception:

[2021-10-20T07:09:58,338][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [Atlante] fatal error in thread [elasticsearch[Atlante][search][T#5]], exiting
    java.lang.ClassFormatError: Unknown constant tag 109 in class file org/apache/lucene/store/RAMInputStream$1
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:1016) ~[?:?]

For the time being, as a temporary fix, I rolled back to kernel 5.4.0-88.99 that is working fine.

I didn't dig deeply into the issue, but seems to be related to RAM management in new kernel release and the JRE embedded into docker image (see exception above :smile: )

I'm posting here before filing this issue to github, because I didn't find any information about it, so I suppose is not a confirmed issue.

1 Like

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