Uploaded image for project: 'Couchbase Server Elastic Search Integration'
  1. Couchbase Server Elastic Search Integration
  2. CBES-6

User gets the message "Attention - Failed to grab remote bucket info from any of known nodes" when starting a replication to ElasticSearch

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Couchbase 2.0.0
      ElasticSearch 0.20.1

      Description

      User gets the message "Attention - Failed to grab remote bucket info from any of known nodes" when starting a replication to ElasticSearch.

      ElasticSearch console contains the following stack trace:

      [2012-12-19 05:50:41,758][WARN ][org.eclipse.jetty.servlet.ServletHandler] Error for /pools/default/buckets
      java.lang.NoSuchMethodError: org.elasticsearch.client.IndicesAdminClient.prepareExists([Ljava/lang/String;)Lorg/elasticsearch/action/admin/indices/exists/IndicesExistsRequestBuilder;
      at org.elasticsearch.transport.couchbase.capi.ElasticSearchCouchbaseBehavior.getBucketUUID(ElasticSearchCouchbaseBehavior.java:95)
      at com.couchbase.capi.servlet.BucketMapServlet.formatBuckets(BucketMapServlet.java:117)
      at com.couchbase.capi.servlet.BucketMapServlet.executeBucketsRequest(BucketMapServlet.java:105)
      at com.couchbase.capi.servlet.BucketMapServlet.doGet(BucketMapServlet.java:75)
      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(Thread.java:722)

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        mschoch Marty Schoch added a comment -

        NoSuchMethodError indicates that most likely we have a version incompatibility between 0.19.9 (the most recent we support) and 0.20.1 (what the user is running).

        User will try 0.19.9 and report back.

        Show
        mschoch Marty Schoch added a comment - NoSuchMethodError indicates that most likely we have a version incompatibility between 0.19.9 (the most recent we support) and 0.20.1 (what the user is running). User will try 0.19.9 and report back.
        Hide
        mschoch Marty Schoch added a comment -

        Marking this as fixed now. The code has been updated to work with the latest stable release of ElasticSearch (0.20.2). While doing this I confirmed that we had an API incompatibility that showed the same behavior as reported by this user.

        Show
        mschoch Marty Schoch added a comment - Marking this as fixed now. The code has been updated to work with the latest stable release of ElasticSearch (0.20.2). While doing this I confirmed that we had an API incompatibility that showed the same behavior as reported by this user.

          People

          • Assignee:
            tommie Tommie McAfee
            Reporter:
            mschoch Marty Schoch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes