Is it possible to run different jdk on elasticsearch client and cluster?


(Selvam) #1

HI All,

is it possible to run different jdk on elasticsearch client and cluster,

And also what happen is i use different jdk?


Elaticsearch 2.1.2 crashing on OpenJDK (1.7.0_79-b14)
(Zachary Tong) #2

Technically, yes.

In practice, no, you shouldn't. It's unsupported to talk between different JDKs. Even different versions of the same JDK are discouraged heavily.

Sooo... I wouldn't use mixed JDKs. It's just asking for trouble, and if you run into problems, the official response will be "Sorry, not supported anyway" :slight_smile:


(Nik Everett) #3

If you spoke over the REST api it'd be just fine. But the Java REST client coming out with 5.0 is very very low level. Not convenient yet.


(system) #4