[ 
https://issues.apache.org/jira/browse/FLINK-11403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhijiang updated FLINK-11403:
-----------------------------
    Description: 
The creation of {{ResultPartitionWriter}} from {{NetworkEnvironment}} relies on 
{{TaskAction}}, {{ResultPartitionConsumableNotifier}}. For breaking this tie, 
{{ResultPartitionWithConsumableNotifier}} is introduced for wrapping the logic 
of notification.

In this way the later interface method 
{{ShuffleService#createResultPartitionWriter}} would be simple.

  was:
This is the precondition for introducing pluggable {{ShuffleService}} on TM 
side.

In current process of creating {{ResultPartition}}, the 
{{ResultPartitionConsumableNotifier}} regarded as TM level component has to be 
passed into the constructor. In order to create {{ResultPartition}} easily from 
{{ShuffleService}}, the required information should be covered by 
{{ResultPartitionDeploymentDescriptor}} as much as possible, then we could 
remove this notifier from the constructor. And it is also reasonable for 
notifying consumable partition via {{TaskActions}} which is already covered in 
{{ResultPartition}}.


> Remove ResultPartitionConsumableNotifier from ResultPartition
> -------------------------------------------------------------
>
>                 Key: FLINK-11403
>                 URL: https://issues.apache.org/jira/browse/FLINK-11403
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Network
>            Reporter: zhijiang
>            Assignee: zhijiang
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The creation of {{ResultPartitionWriter}} from {{NetworkEnvironment}} relies 
> on {{TaskAction}}, {{ResultPartitionConsumableNotifier}}. For breaking this 
> tie, {{ResultPartitionWithConsumableNotifier}} is introduced for wrapping the 
> logic of notification.
> In this way the later interface method 
> {{ShuffleService#createResultPartitionWriter}} would be simple.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to