[
https://issues.apache.org/jira/browse/BEAM-10693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212516#comment-17212516
]
Beam JIRA Bot commented on BEAM-10693:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> 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: P2
> Labels: stale-P2
>
> 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)