Skip to content

Instantly share code, notes, and snippets.

@apple-corps
Created January 15, 2018 20:57
Show Gist options
  • Save apple-corps/ee5803d7995631abdfc06125b5e739a4 to your computer and use it in GitHub Desktop.
Save apple-corps/ee5803d7995631abdfc06125b5e739a4 to your computer and use it in GitHub Desktop.
Elasticsearch SocketTimeoutException
Caused by: UncategorizedExecutionException[Failed execution]; nested: ExecutionException[java.net.SocketTimeoutException]; nested: SocketTimeoutException;
at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:93)
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:47)
at org.elasticsearch.action.bulk.Retry.withSyncBackoff(Retry.java:104)
at org.elasticsearch.action.bulk.BulkRequestHandler$SyncBulkRequestHandler.execute(BulkRequestHandler.java:86)
at org.elasticsearch.action.bulk.BulkProcessor.execute(BulkProcessor.java:350)
at org.elasticsearch.action.bulk.BulkProcessor.executeIfNeeded(BulkProcessor.java:341)
at org.elasticsearch.action.bulk.BulkProcessor.internalAdd(BulkProcessor.java:276)
at org.elasticsearch.action.bulk.BulkProcessor.add(BulkProcessor.java:259)
at org.elasticsearch.action.bulk.BulkProcessor.add(BulkProcessor.java:255)
at org.elasticsearch.action.bulk.BulkProcessor.add(BulkProcessor.java:241)
at com.nordstrom.datalens.streaming.connectors.elasticsearch.BulkProcessorIndexer.add(BulkProcessorIndexer.java:50)
at com.nordstrom.datalens.streaming.jobs.LogStreamToElasticsearchJob.lambda$createSink$1de7a94c$1(LogStreamToElasticsearchJob.java:116)
at com.nordstrom.datalens.streaming.connectors.elasticsearch.ElasticsearchSink.invoke(ElasticsearchSink.java:328)
... 31 more
Caused by: java.util.concurrent.ExecutionException: java.net.SocketTimeoutException
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:262)
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:249)
at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:91)
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:42)
... 42 more
Caused by: java.net.SocketTimeoutException
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.timeout(HttpAsyncRequestExecutor.java:375)
at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:92)
at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:39)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.timeout(AbstractIODispatch.java:175)
at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionTimedOut(BaseIOReactor.java:263)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.timeoutCheck(AbstractIOReactor.java:492)
at org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:213)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
... 1 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment