[
https://issues.apache.org/jira/browse/BEAM-6087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Etienne Chauchot resolved BEAM-6087.
------------------------------------
Resolution: Duplicate
Fix Version/s: Not applicable
Closing because duplicate of https://issues.apache.org/jira/browse/BEAM-5725
which is already solved
> ElasticsearchIO.write() retry functionality consumes response
> -------------------------------------------------------------
>
> Key: BEAM-6087
> URL: https://issues.apache.org/jira/browse/BEAM-6087
> Project: Beam
> Issue Type: Bug
> Components: io-java-elasticsearch
> Affects Versions: 2.8.0
> Reporter: Damien Hollis
> Assignee: Etienne Chauchot
> Priority: Critical
> Fix For: Not applicable
>
>
> Configuring retry functionality on ElasticsearchIO.write(), i.e.
> {{ElasticsearchIO.write()}}
> {{ .withRetryConfiguration(ElasticsearchIO.RetryConfiguration.create(3,
> Duration.millis(30_000)))}}
> Causes us to get this error when flushBundle is trying to checkForErrors
> (specifically when parseResponse is trying to ready the response). The error
> is:
> {{Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: No
> content to map due to end-of-input}}
> The problem is that the retry functionality has already read the response.
> By turning off the retry functionality, the problem is resolved.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)