You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gary Yao (Jira)" <ji...@apache.org> on 2020/04/08 13:15:00 UTC

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

     [ 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)