[jira] [Created] (FLINK-14510) Remove the lazy vertex attaching mechanism from ExecutionGraph

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14510) Remove the lazy vertex attaching mechanism from ExecutionGraph

Shang Yuanchun (Jira)
Zhu Zhu created FLINK-14510:
-------------------------------

             Summary: Remove the lazy vertex attaching mechanism from ExecutionGraph
                 Key: FLINK-14510
                 URL: https://issues.apache.org/jira/browse/FLINK-14510
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.10.0
            Reporter: Zhu Zhu
             Fix For: 1.10.0


Currently in production, the vertex attaching is only invoked right after the ExecutionGraph is created in ExecutionGraphBuilder. That means lazy attaching is not necessary at the moment. It however adds extra complexity to ExecutionGraph, since we need to assume that the vertices may be not initialized or even get changed.

Moreover, attaching vertices after a job starts scheduling is an undefined behavior which would not work properly.

I'd propose to remove the lazy attaching mechanism, and do vertices building and related components initialization in ExecutionGraph constructor.



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