Which version of java has compiled the latest ElasticSearch on Ubuntu repos vs up on ESearch website?


(Dennis) #1

I'm pretty sure I got the .deb from the Esearch site. I have been running
down this error:

Unexpected exception, expected<org.elasticsearch.indices.
IndexMissingException> but was<org.elasticsearch.transport.
TransportSerializationException>

So finally followed these instructions:

And found that at least /org/elasticsearch/ElasticSearchException.class(probably all of the .deb/.jar of 90.5 ESearch) was built with Java 1.6.
I'm running 1.7 and that probably explains my error.

  •          *Is there a .deb/.jar compiled with Java 7 on the ESEarch 
    

site, Shay?*

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

Serialization errors of exceptions are caused by mixing different JVM
versions in an installation. Check if you use the same JVM at all cluster
nodes and clients.

It does not matter what javac version compiled ES as long as the class
files can be executed by both Java 6 and 7 (also Java 8 works).

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3