Attention - Failed to grab remote bucket info from any of known nodes
i get an error "Attention - Failed to grab remote bucket info from any of known nodes" when trying to add an XDCR to ElasticSearch.i tried all versions from elasticsearch-0.18.7 till elasticsearch-0.20.2 Logs as below
c:\Work\elasticsearch\bin>elasticsearch.bat
[2013-01-22 17:38:51,312][WARN ][bootstrap ] jvm uses the client vm, make sure to run `java` with the server vm for best performance by
adding `-server` to the command line
[2013-01-22 17:38:51,317][INFO ][node ] [Ghost Rider 2099] {0.18.7}[1484]: initializing ...
[2013-01-22 17:38:51,333][INFO ][plugins ] [Ghost Rider 2099] loaded [transport-couchbase], sites [head]
[2013-01-22 17:38:52,818][INFO ][node ] [Ghost Rider 2099] {0.18.7}[1484]: initialized
[2013-01-22 17:38:52,818][INFO ][node ] [Ghost Rider 2099] {0.18.7}[1484]: starting ...
[2013-01-22 17:38:53,201][INFO ][org.eclipse.jetty.server.Server] jetty-8.1.0.v20120127
[2013-01-22 17:38:53,265][INFO ][org.eclipse.jetty.server.AbstractConnector] Started SelectChannelConnector@0.0.0.0:9091
[2013-01-22 17:38:53,268][INFO ][transport.couchbase ] [Ghost Rider 2099] bound_address {inet[0.0.0.0/0.0.0.0:9091]}, publish_address {inet[/192.
168.0.16:9091]}
[2013-01-22 17:38:53,441][INFO ][transport ] [Ghost Rider 2099] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192
.168.0.16:9300]}
[2013-01-22 17:38:56,694][INFO ][cluster.service ] [Ghost Rider 2099] new_master [Ghost Rider 2099][TIvnuyl0Rvado2MjObjcaw][inet[/192.168.0.1
6:9300]], reason: zen-disco-join (elected_as_master)
[2013-01-22 17:38:56,879][INFO ][discovery ] [Ghost Rider 2099] elasticsearch/TIvnuyl0Rvado2MjObjcaw
[2013-01-22 17:38:57,083][INFO ][http ] [Ghost Rider 2099] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192
.168.0.16:9200]}
[2013-01-22 17:38:57,084][INFO ][node ] [Ghost Rider 2099] {0.18.7}[1484]: started
[2013-01-22 17:38:57,293][INFO ][gateway ] [Ghost Rider 2099] recovered [1] indices into cluster_state
[2013-01-22 17:38:57,294][WARN ][cluster.metadata ] [Ghost Rider 2099] [default] re-syncing mappings with cluster state for types [[couchbaseC
heckpoint]]
[2013-01-22 17:39:07,416][WARN ][org.eclipse.jetty.servlet.ServletHandler] Error for /pools
java.lang.NoSuchMethodError: org.elasticsearch.client.ClusterAdminClient.prepareState()Lorg/elasticsearch/action/admin/cluster/state/ClusterStateReque
stBuilder;
at org.elasticsearch.transport.couchbase.capi.ElasticSearchCouchbaseBehavior.getPoolUUID(ElasticSearchCouchbaseBehavior.java:53)
at com.couchbase.capi.servlet.ClusterMapServlet.executePoolsRequest(ClusterMapServlet.java:95)
at com.couchbase.capi.servlet.ClusterMapServlet.doGet(ClusterMapServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:594)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:486)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:412)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:351)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:451)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:916)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
at java.lang.Thread.run(Unknown Source)
thanks marty. it worked fine with 0.19.9. iam trying to have a single installation of elasticsearch in the company and then have it shared between couchbase and logstash. Somehow standalone elasticsearch from logstash is at version 0.20.2 and version 0.19.9 0f elasticsearch is not really compatible with the latest logstash version.
when do we expect to have couchbase support the latest elasticsearch version ?
We are testing a version which is compatible with 0.20.2 now. I don't know exactly when this version will be released.
If you want to play with that version now, you could build it from source: https://github.com/couchbaselabs/elasticsearch-transport-couchbase
marty
Unfortunately API changes in ElasticSearch mean we're tied to very specific versions. I know you already said you've tried a range of versions, but it should work with 0.19.9. Can you please switch back to that version, and provide the errors you see when using that version?
Thanks,
marty