[ 
https://issues.apache.org/jira/browse/BEAM-10693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548791#comment-17548791
 ] 

Danny McCormick commented on BEAM-10693:
----------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/20406

> 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.20.7#820007)

Reply via email to