Is it safe to run Elasticsearch 5.6 with OpenJDK 10?


(Jong Kim) #1

I have an application that uses Elasticsearch 5.5.1 and Oracle Java 8. We plan to upgrade to Elasticsearch 5.6.7 and OpenJDK 10 soon.

To check compatibility, I ran ES 5.5.1 with OpenJDK 10, and the startup failed due to missing JAXB libraries. This is expected since JAXB is no longer included in Java 9 and upward. After copying JAXB libraries to ES installation, ES started without any error. Some preliminary testing shows that the system behaves normally.

However, according to the following information, official support for JVM 9 isn't available until ES 6.2.


https://www.elastic.co/support/matrix#matrix_jvm

Does that mean that running ES 5.x with OpenJDK 9/10 would be problematic hence not recommended? Or does it rather mean that ES 5.x would run with OpenJDK 9/10 fine, but official support from Elastic company isn't available?

Has anyone successfully deployed and run ES 5.x with OpenJDK 9 or 10 in production environment?

Thanks for any information.

/Jong


(Mark Walkom) #2

We currently do not support Java 10 - https://www.elastic.co/support/matrix#matrix_jvm


(Jong Kim) #3

Are you implying that running ES 5.x with Java 9 is OK?

Also, do you generally recommend against running ES with Java version not explicitly listed as supported in the matrix? Or does it mean that a particular combination isn't tested/supported, so it may or may not run fine?

Thanks
/Jong


(Mark Walkom) #4

If that is what the matrix states, then yes.

Yes, always.


(andy_zhou) #5

see the support.


(system) #6

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