LEEKYE commented on code in PR #35120:
URL: https://github.com/apache/beam/pull/35120#discussion_r2148820093


##########
sdks/java/harness/src/main/java/org/apache/beam/fn/harness/control/ExecutionStateSampler.java:
##########


Review Comment:
   Tested. If an exception is thrown, the sdk would not restart. Also tried to 
interrupt the sampler thread when runtime exception is thrown and caught, sdk 
would not restart either but end the program with status DONE and work 
uncompleted. Using System.exit(1) would terminate the entire program and make 
it restart. For batch job, fault tolerance of at most 4 times is applied for an 
operation. 
   
https://cloud.google.com/dataflow/docs/guides/common-errors#job-failed-four-times
   
   Dataflow job id "2025-06-15_01_45_32-13357292699747633251" is provided for 
reference



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to