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

Amit Sela commented on BEAM-849:
--------------------------------

So in the "spirit" of the unified model, would you agree that bounded pipelines 
should also explicitly call for {{cancel()}} after 
{{waitUntilFinish(Duration)}} ? and so they should return the {{State}} as it 
is and not {{null}} ?
Also, it might make sense to not support {{waitUntilFinish()}} in unbounded 
pipelines since it will wait "forever", no ?

> Redesign PipelineResult API
> ---------------------------
>
>                 Key: BEAM-849
>                 URL: https://issues.apache.org/jira/browse/BEAM-849
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Pei He
>
> Current state: 
> Jira https://issues.apache.org/jira/browse/BEAM-443 addresses 
> waitUntilFinish() and cancel(). 
> However, there are additional work around PipelineResult: 
> need clearly defined contract and verification across all runners 
> need to revisit how to handle metrics/aggregators 
> need to be able to get logs



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to