Elasticsearch 2.x Not working with Spring boot 1.2.5 -


hi friends have installed elastic search 1.4.5 , using spring boot 1.2.5 . setup working fine. dependencies included elasticsearch in pom file is:

<dependency>         <groupid>org.springframework.boot</groupid>         <artifactid>spring-boot-starter-data-elasticsearch</artifactid> </dependency> 

now know elasticsearch upgraded , latest version of 2.x series. have installed elasticsearch 2.3.1 started spring boot application gives me warnings

[2016-04-25 11:48:27,263][warn ][transport.netty          ] [katie power] exception caught on transport layer [[id: 0x70aad8aa, /127.0.0.1:41327 => /127.0.0.1:9300]], closing connection java.lang.illegalstateexception: message not read (request) requestid [6], action [cluster/nodes/info], readerindex [39] vs expected [57]; resetting     @ org.elasticsearch.transport.netty.messagechannelhandler.messagereceived(messagechannelhandler.java:121)     @ org.jboss.netty.channel.simplechannelupstreamhandler.handleupstream(simplechannelupstreamhandler.java:70)     @ org.jboss.netty.channel.defaultchannelpipeline.sendupstream(defaultchannelpipeline.java:564)     @ org.jboss.netty.channel.defaultchannelpipeline$defaultchannelhandlercontext.sendupstream(defaultchannelpipeline.java:791)     @ org.jboss.netty.channel.channels.firemessagereceived(channels.java:296)     @ org.jboss.netty.handler.codec.frame.framedecoder.unfoldandfiremessagereceived(framedecoder.java:462)     @ org.jboss.netty.handler.codec.frame.framedecoder.calldecode(framedecoder.java:443)     @ org.jboss.netty.handler.codec.frame.framedecoder.messagereceived(framedecoder.java:303)     @ org.jboss.netty.channel.simplechannelupstreamhandler.handleupstream(simplechannelupstreamhandler.java:70)     @ org.jboss.netty.channel.defaultchannelpipeline.sendupstream(defaultchannelpipeline.java:564)     @ org.jboss.netty.channel.defaultchannelpipeline$defaultchannelhandlercontext.sendupstream(defaultchannelpipeline.java:791)     @ org.elasticsearch.common.netty.openchannelshandler.handleupstream(openchannelshandler.java:75)     @ org.jboss.netty.channel.defaultchannelpipeline.sendupstream(defaultchannelpipeline.java:564)     @ org.jboss.netty.channel.defaultchannelpipeline.sendupstream(defaultchannelpipeline.java:559)     @ org.jboss.netty.channel.channels.firemessagereceived(channels.java:268)     @ org.jboss.netty.channel.channels.firemessagereceived(channels.java:255)     @ org.jboss.netty.channel.socket.nio.nioworker.read(nioworker.java:88)     @ org.jboss.netty.channel.socket.nio.abstractnioworker.process(abstractnioworker.java:108)     @ org.jboss.netty.channel.socket.nio.abstractnioselector.run(abstractnioselector.java:337)     @ org.jboss.netty.channel.socket.nio.abstractnioworker.run(abstractnioworker.java:89)     @ org.jboss.netty.channel.socket.nio.nioworker.run(nioworker.java:178)     @ org.jboss.netty.util.threadrenamingrunnable.run(threadrenamingrunnable.java:108)     @ org.jboss.netty.util.internal.deadlockproofworker$1.run(deadlockproofworker.java:42)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ java.lang.thread.run(thread.java:745) [2016-04-25 11:48:49,630][warn ][cluster.routing.allocation.decider] [katie power] high disk watermark [90%] exceeded on [-jqppxgptx2f6inlg520gg][katie power][/home/mohdqasim/downloads/elasticsearch-2.3.1/data/qasimelasticsearch/nodes/0] free: 317.2mb[1.7%], shards relocated away node [2016-04-25 11:49:19,631][warn ][cluster.routing.allocation.decider] [katie power] high disk watermark [90%] exceeded on [-jqppxgptx2f6inlg520gg][katie power][/home/mohdqasim/downloads/elasticsearch-2.3.1/data/qasimelasticsearch/nodes/0] free: 317.2mb[1.7%], shards relocated away node 

and elasticserch not updated indexes defined in application.

i have search long time on google not found solution. can me please!

that's because spring boot works spring-boot-starter-data-elasticsearch 1.3.3-release , not yet 2.0.0-release supports es 2.x.

since have spring boot 1.2.5, it's older version won't support es 2.x


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -