[
https://issues.apache.org/jira/browse/FLINK-12882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhijiang updated FLINK-12882:
-----------------------------
Description: The ResultPartitionID could be got directly from
ResultPartitionDeploymentDescriptor, so it is no need to pass
ExecutionAttemptID to construct new ResultPartitionID during creating
ResultPartition in factory. (was: The {{ExecutionAttemptID}} is only used for
constructing {{ResultPartitionID}} during creating {{ResultPartitionWriters in
ShuffleEnvironment}}.
Actually the {{ResultPartitionID}} could be got directly from
{{ResultPartitionDeploymentDescriptor}} via
{{ShuffleDescriptor#getResultPartitionID}} then we could avoid passing this
field in the interface to make it simple.)
> Remove ExecutionAttemptID field from
> ShuffleEnvironment#createResultPartitionWriters
> ------------------------------------------------------------------------------------
>
> Key: FLINK-12882
> URL: https://issues.apache.org/jira/browse/FLINK-12882
> 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 ResultPartitionID could be got directly from
> ResultPartitionDeploymentDescriptor, so it is no need to pass
> ExecutionAttemptID to construct new ResultPartitionID during creating
> ResultPartition in factory.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)