Hello,
I'm trying to use the elasticsearch 2.0 java client and to create a transport node which connects to an elasticsearch 1.6.0 cluster.
However, I'm getting this exception:
2015-11-23 13:32:02 WARN netty:723 - [Roma] exception caught on transport layer [[id: 0x26a9f009, /10.0.2.15:36369 => example.com/153.65.234.45:9300]], closing connection
java.lang.NullPointerException
at org.elasticsearch.transport.netty.MessageChannelHandler.handleException(MessageChannelHandler.java:206)
at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:201)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:136)
The question is, can we connect with a 2.0 java client to a 1.6.0 es cluster?
Thanks!