You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhijiang (JIRA)" <ji...@apache.org> on 2019/02/14 03:44:00 UTC

[jira] [Created] (FLINK-11604) Extend the necessary methods in ResultPartitionWriter interface

zhijiang created FLINK-11604:
--------------------------------

             Summary: 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
             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)