ES 6.3.0 RestClient ConnectionException while executing BulkProcessor

(garyM) #1

I am running a process that builds an index by reading a relational database table containing over 26,000 rows.

The indexing process appears to have run successfully however after looking through the log file - which btw contains over 100KB of messages written by this process - I see a few exceptions written to the file. They look like:

2018-06-28 13:25:40 DEBUG InternalHttpAsyncClient:333 - [exchange: 36] connection request failed
2018-06-28 13:25:40 DEBUG RestClient:92 - request [POST http://localhost:9201/_bulk?timeout=1m] failed Connection refused: no further information
at Method)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(
at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$

As I said it appears that all of the rows from the table have been indexed. Do I need to be concerned about this?

Thank you

(Luca Cavanna) #2

did you have multiple nodes configured in your client? If so, how many? The rest client retries on connection failure the next node in the list, so if it is the whole bulk request to fail due to a connection exception, and the next node works ok, the documents will all be indexed without users notice this. That is one of the advantages of using our own client, both low-level and high-level.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.