[jira] [Created] (FLINK-17050) Remove methods getVertex() and getResultPartition() from SchedulingTopology

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

[jira] [Created] (FLINK-17050) Remove methods getVertex() and getResultPartition() from SchedulingTopology

Shang Yuanchun (Jira)
Gary Yao created FLINK-17050:
--------------------------------

             Summary: Remove methods getVertex() and getResultPartition() from SchedulingTopology
                 Key: FLINK-17050
                 URL: https://issues.apache.org/jira/browse/FLINK-17050
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
            Reporter: Gary Yao
            Assignee: Gary Yao
             Fix For: 1.11.0


Remove methods (they are only called from tests):
# {{Optional<V> getVertex(ExecutionVertexID)}}
# {{Optional<R> getResultPartition(IntermediateResultPartitionID)}}

and replace them with the following new methods:
# V getVertex(ExecutionVertexID)
# V getResultPartition(IntermediateResultPartitionID)

The new methods should  throw {{IllegalArgumentException}} if no matching vertex or result partition could be found.



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