[
https://issues.apache.org/jira/browse/FLINK-12960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Zagrebin updated FLINK-12960:
------------------------------------
Description: {{ResultPartitionDeploymentDescriptor#releasedOnConsumption}}
shows the intention how the partition is going to be used by the shuffle user
and released. The {{ShuffleDescriptor}} should provide a way to query which
release type is supported by shuffle service for this partition. If the
requested release type is not supported by the shuffle service for a certain
type of partition, the job should fail fast. (was:
ResultPartitionDeploymentDescriptor#releasedOnConsumption shows the intention
how the partition is going to be used by the shuffle user. If it is not
supported by the shuffle service for a certain type of partition,
ShuffleMaster#registerPartitionWithProducer and
ShuffleEnvironment#createResultPartitionWriters should throw an exception.
ShuffleMaster#registerPartitionWithProducer takes PartitionDescriptor.
ResultPartitionDeploymentDescriptor#releasedOnConsumption should be part of
PartitionDescriptor so that not only ShuffleEnvironment but also ShuffleMaster
is already aware about releasedOnConsumption.)
> Move ResultPartitionDeploymentDescriptor#releasedOnConsumption to
> PartitionDescriptor#releasedOnConsumption
> -----------------------------------------------------------------------------------------------------------
>
> Key: FLINK-12960
> URL: https://issues.apache.org/jira/browse/FLINK-12960
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Reporter: Andrey Zagrebin
> Assignee: Andrey Zagrebin
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{ResultPartitionDeploymentDescriptor#releasedOnConsumption}} shows the
> intention how the partition is going to be used by the shuffle user and
> released. The {{ShuffleDescriptor}} should provide a way to query which
> release type is supported by shuffle service for this partition. If the
> requested release type is not supported by the shuffle service for a certain
> type of partition, the job should fail fast.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)