You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 22:57:56 UTC

[GitHub] [beam] kennknowles opened a new issue, #19211: ElasticsearchIO listener timeout

kennknowles opened a new issue, #19211:
URL: https://github.com/apache/beam/issues/19211

   Still getting a listener timeout when trying to insert a large amount of documents.
   
   ```
   
   java.io.IOException: listener timeout after waiting for [30000] ms
    at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:660)
    at org.elasticsearch.client.RestClient.performRequest(RestClient.java:219)
    at org.elasticsearch.client.RestClient.performRequest(RestClient.java:191)
    at org.apache.beam.sdk.io.elasticsearch.ElasticsearchIO$Write$WriteFn.flushBatch(ElasticsearchIO.java:1226)
    at org.apache.beam.sdk.io.elasticsearch.ElasticsearchIO$Write$WriteFn.finishBundle(ElasticsearchIO.java:1200)
   ```
   
   The listener timeouts are not handled in the underlying ES RestClient.
   
   A possible solution would be to catch these exceptions and include them in the retry handling mechanism
   
   Imported from Jira [BEAM-5988](https://issues.apache.org/jira/browse/BEAM-5988). Original Jira may contain additional context.
   Reported by: wouts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org