couchbase-elasticsearch-connector: bulk index failed after all retries

Hi David,

Love Couchbase, even bought your book Pro Couchbase Server… Just seem to be having a problem here and am hoping you could assist… (CB: 4 Community, ES: 2.3.1, ES-transport-CB: 2.2.3.1)

I get the following exception after importing around 5M records (does not really help identify what the issue is):

[2016-04-20 13:31:42,684][WARN ][org.eclipse.jetty.servlet.ServletHandler] /recs%2f652/_bulk_docs
java.lang.RuntimeException: indexing error: bulk index failed after all retries

    at org.elasticsearch.transport.couchbase.capi.ElasticSearchCAPIBehavior.bulkDocs(ElasticSearchCAPIBehavior.java:520)
    at com.couchbase.capi.servlet.CAPIServlet.handleBulkDocs(CAPIServlet.java:529)
    at com.couchbase.capi.servlet.CAPIServlet.service(CAPIServlet.java:89)
    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:745)

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 22 (2 by maintainers)

Most upvoted comments

@Molenx tested document sizes and got to the same result. Documents are ending up taking up more space than on older version of ES (1.5.2). I also commented on your ES issue.

We are currently testing the upgrade and you are right, we can’t move forward with the current state of ES and speed of replication.