[
https://issues.apache.org/jira/browse/BEAM-3848?focusedWorklogId=82290&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-82290
]
ASF GitHub Bot logged work on BEAM-3848:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Mar/18 14:57
Start Date: 20/Mar/18 14:57
Worklog Time Spent: 10m
Work Description: timrobertson100 opened a new pull request #4905:
[BEAM-3848] Enables ability to retry Solr writes on error (SolrIO)
URL: https://github.com/apache/beam/pull/4905
This adds retying behavior when a failure writing to SOLR occurs.
The caller can provide max attempts and max duration for retrying. Default
behavior should be unchanged, and the code follows the same pattern as other
IOs (e.g. JdbcIO) for the expontential backoff.
Please note that the `SolrIO.Write.WriteFn.flushBatch()` signature was
modified to allow unit testing.
[CC @jfkk @iemejia @echauchot]
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 82290)
Time Spent: 10m
Remaining Estimate: 0h
> SolrIO: Improve retrying mechanism in client writes
> ---------------------------------------------------
>
> Key: BEAM-3848
> URL: https://issues.apache.org/jira/browse/BEAM-3848
> Project: Beam
> Issue Type: Improvement
> Components: io-java-solr
> Affects Versions: 2.2.0, 2.3.0
> Reporter: Tim Robertson
> Assignee: Ismaël Mejía
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> A busy SOLR server is prone to return RemoteSOLRException on writing which
> currently fails a complete task (e.g. a partition of a spark RDD being
> written to SOLR).
> A good addition would be the ability to provide a retrying mechanism for the
> batch in flight, rather than failing fast, which will most likely trigger a
> much larger retry of more writes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)