You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Boyuan Zhang (Jira)" <ji...@apache.org> on 2021/03/16 23:46:00 UTC

[jira] [Commented] (BEAM-11998) Portable runners should be able to issue checkpoints to Splittable DoFn

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

Boyuan Zhang commented on BEAM-11998:
-------------------------------------

Code pointer for how we executes unbounded Splittable DoFn in non-portable execution: https://github.com/apache/beam/blob/master/runners/core-java/src/main/java/org/apache/beam/runners/core/OutputAndTimeBoundedSplittableProcessElementInvoker.java

> Portable runners should be able to issue checkpoints to Splittable DoFn
> -----------------------------------------------------------------------
>
>                 Key: BEAM-11998
>                 URL: https://issues.apache.org/jira/browse/BEAM-11998
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-flink, runner-spark
>            Reporter: Boyuan Zhang
>            Priority: P2
>
> To execute unbounded Splittable DoFn over fnapi in streaming mode properly, portable runners should issue split(ProcessBundleSplitRequest with fraction_of_remainder > 0) or simply checkpoint(ProcessBundleSplitRequest with fraction_of_remainder == 0) to SDK regularly to make current bundle finished processing instead of running forever.



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