Uploaded image for project: 'Couchbase Elasticsearch Connector'
  1. Couchbase Elasticsearch Connector
  2. CBES-15

_bulk_docs throws error: java.lang.NoSuchMethodError

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Security Level: Public
    • None

    Description

      ES Plugin: elasticsearch-transport-couchbase-1.0.1-SNAPSHOT.jar
      Couchbase: 2.1 build 718
      Test: ./testrunner -i /tmp/test-resource.ini -t xdcr.esXDCR.ESTests.load_with_async_ops,items=10000,rdirection=unidirection,doc-ops=create-update-delete-read,expires=10,standard_buckets=1,end_replication_flag=1

      • 2 Bucket test with create/delete/update/expires.
      • unidirection replication
      • items are not replicating to secondary site
        noticed these errors in the logs (full log attached)

      [2013-07-01 19:03:19,373][WARN ][org.eclipse.jetty.servlet.ServletHandler] Error for /default%2f37%3b00000000000000000000000000000000/_bulk_docs
      java.lang.NoSuchMethodError: org.elasticsearch.action.bulk.BulkResponse.getItems()[Lorg/elasticsearch/action/bulk/BulkItemResponse;
      at org.elasticsearch.transport.couchbase.capi.ElasticSearchCAPIBehavior.bulkDocs(ElasticSearchCAPIBehavior.java:314)
      at com.couchbase.capi.servlet.CAPIServlet.handleBulkDocs(CAPIServlet.java:370)
      at com.couchbase.capi.servlet.CAPIServlet.service(CAPIServlet.java:76)
      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.content(AbstractHttpConnection.java:931)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
      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:724)

      and from couchbase:
      xdcr:error,2013-07-01T18:58:39.888,ns_1@127.0.0.1:<0.4464.0>:xdc_vbucket_rep:terminate:333]Replication `f4268e62702130298bf87f17cc481219/default/default` (`default/88` -> `http://Administrator:password@10.3.2.92:9091/default%2f88%3b00000000000000000000000000000000`) failed: {http_request_failed,"POST",
      "http://Administrator:*****@10.3.2.92:9091/default%2f88%3b00000000000000000000000000000000/_bulk_docs",
      {error,

      {code,500}}}
      [xdcr:error,2013-07-01T18:58:39.906,ns_1@127.0.0.1:<0.4506.0>:xdc_vbucket_rep:terminate:333]Replication `f4268e62702130298bf87f17cc481219/default/default` (`default/96` -> `http://Administrator:password@10.3.2.92:9091/default%2f96%3b00000000000000000000000000000000`) failed: {http_request_failed,"POST",
      "http://Administrator:*****@10.3.2.92:9091/default%2f96%3b00000000000000000000000000000000/_bulk_docs",
      {error,{code,500}

      }}

      Attachments

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

        Activity

          People

            mschoch Marty Schoch [X] (Inactive)
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty