[
https://issues.apache.org/jira/browse/FLINK-17050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Yao updated FLINK-17050:
-----------------------------
Description:
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.
was:
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.
> 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
> Priority: Major
> 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)