public class TaskDeploymentDescriptorFactory extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TaskDeploymentDescriptorFactory.PartitionLocationConstraint
Defines whether the partition's location must be known at deployment time or can be unknown
and, therefore, updated later.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SubpartitionIndexRange |
computeConsumedSubpartitionRange(int numConsumers,
IntermediateResultPartition resultPartition,
int consumerSubtaskIndex) |
TaskDeploymentDescriptor |
createDeploymentDescriptor(AllocationID allocationID,
JobManagerTaskRestore taskRestore,
Collection<ResultPartitionDeploymentDescriptor> producedPartitions) |
static TaskDeploymentDescriptorFactory |
fromExecution(Execution execution) |
static ShuffleDescriptor |
getConsumedPartitionShuffleDescriptor(IntermediateResultPartition consumedPartition,
TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionDeploymentConstraint) |
public TaskDeploymentDescriptor createDeploymentDescriptor(AllocationID allocationID, @Nullable JobManagerTaskRestore taskRestore, Collection<ResultPartitionDeploymentDescriptor> producedPartitions) throws IOException
IOExceptionpublic static SubpartitionIndexRange computeConsumedSubpartitionRange(int numConsumers, IntermediateResultPartition resultPartition, int consumerSubtaskIndex)
public static TaskDeploymentDescriptorFactory fromExecution(Execution execution) throws IOException, ClusterDatasetCorruptedException
public static ShuffleDescriptor getConsumedPartitionShuffleDescriptor(IntermediateResultPartition consumedPartition, TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionDeploymentConstraint)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.