[
https://issues.apache.org/jira/browse/BEAM-10693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220832#comment-17220832
]
Beam JIRA Bot commented on BEAM-10693:
--------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> Improve error handling in org.apache.beam.sdk.extensions.ml.CloudVision
> -----------------------------------------------------------------------
>
> Key: BEAM-10693
> URL: https://issues.apache.org/jira/browse/BEAM-10693
> Project: Beam
> Issue Type: New Feature
> Components: extensions-java-gcp
> Affects Versions: 2.22.0
> Reporter: Sergei Lilichenko
> Priority: P3
> Labels: Clarified
>
> CloudVision invokes batchAnnotateImages API ((at AnnotateImages class). Any
> exception thrown will propagate to the pipeline. Because of the Vision API's
> quota processing large number of images with a large number of workers will
> often result in ResourceExhaustedException and subsequent reprocessing of the
> complete bundle and pipeline errors.
> By catching that exception in the transform and providing an exponential
> backoff reprocessing and excessive error reporting can be significantly
> minimized.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)