[
https://issues.apache.org/jira/browse/BEAM-6087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693288#comment-16693288
]
Etienne Chauchot commented on BEAM-6087:
----------------------------------------
[~timrobertson100] would you mind taking a look?
> 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
>
> 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)