You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Thomas Groh (JIRA)" <ji...@apache.org> on 2016/10/25 17:50:58 UTC

[jira] [Created] (BEAM-819) The DirectRunner can complete before reporting the results of all ModelEnforcements

Thomas Groh created BEAM-819:
--------------------------------

             Summary: The DirectRunner can complete before reporting the results of all ModelEnforcements
                 Key: BEAM-819
                 URL: https://issues.apache.org/jira/browse/BEAM-819
             Project: Beam
          Issue Type: Bug
          Components: runner-direct
            Reporter: Thomas Groh
            Assignee: Thomas Groh


The termination condition in the ExecutorServiceParallelExecutor.MonitorRunnable checks to see if the evaluation context is done, among other things. Due to the signatures of ModelEnforcement, output is committed before ModelEnforcement runs to ensure that the enforcement has access to the final elements. If the transform that performs ModelEnforcement completes, and all PTransforms are done, the pipeline can shutdown before model enforcement fails.



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