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

Kenneth Knowles commented on BEAM-9469:
---------------------------------------

Unfortunately we made {{State}} an enum so it is basically impossible or very 
annoying to improve it. But we could give it a field {{Explanation}} or 
something which could be a proper oneof/tagged union that could carry fields.

> Provide error message access when Pipeline State is failure
> -----------------------------------------------------------
>
>                 Key: BEAM-9469
>                 URL: https://issues.apache.org/jira/browse/BEAM-9469
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-dataflow
>    Affects Versions: 2.19.0
>            Reporter: Reza ardeshir rokni
>            Priority: P3
>
> In order to allow programmatic error recovery of batch pipelines on failure, 
> allow access to the  error from within the State object returned by:
>  
> State state = job.waitUntilFinish();



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to