[
https://issues.apache.org/jira/browse/FLINK-11604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-11604:
-----------------------------------
Labels: pull-request-available (was: )
> Extend the necessary methods in ResultPartitionWriter interface
> ---------------------------------------------------------------
>
> Key: FLINK-11604
> URL: https://issues.apache.org/jira/browse/FLINK-11604
> Project: Flink
> Issue Type: Sub-task
> Components: Network
> Reporter: zhijiang
> Assignee: zhijiang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.8.0
>
>
> This is a preparation work for future creating {{ResultPartitionWriter}} via
> proposed {{ShuffleService}}.
> Currently there exists only one {{ResultPartition}} implementation for
> {{ResultPartitionWriter}} interface, so the specific {{ResultPartition}}
> instance is easily referenced in many other classes such as {{Task}},
> {{NetworkEnvironment}}, etc. Even some private methods in {{ResultPartition}}
> would be called directly in these reference classes.
> Considering {{ShuffleService}} might create multiple different
> {{ResultPartitionWriter}} implementations future, then all the other classes
> should only reference with the interface and call the common methods.
> Therefore we extend the related methods in {{ResultPartitionWriter}}
> interface in order to cover existing logics in {{ResultPartition}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)