public interface JobMasterPartitionTracker extends PartitionTracker<ResourceID,ResultPartitionDeploymentDescriptor>
Modifier and Type | Method and Description |
---|---|
void |
startTrackingPartition(ResourceID producingTaskExecutorId,
ResultPartitionDeploymentDescriptor resultPartitionDeploymentDescriptor)
Starts the tracking of the given partition for the given task executor ID.
|
void |
stopTrackingAndReleaseOrPromotePartitionsFor(ResourceID producingTaskExecutorId)
Releases all job partitions and promotes all cluster partitions for the given task executor
ID, and stops the tracking of partitions that were released/promoted.
|
void |
stopTrackingAndReleasePartitions(Collection<ResultPartitionID> resultPartitionIds)
Releases the given partitions and stop the tracking of partitions that were released.
|
void |
stopTrackingAndReleasePartitionsFor(ResourceID producingTaskExecutorId)
Releases all partitions for the given task executor ID, and stop the tracking of partitions
that were released.
|
isPartitionTracked, isTrackingPartitionsFor, stopTrackingPartitions, stopTrackingPartitionsFor
void startTrackingPartition(ResourceID producingTaskExecutorId, ResultPartitionDeploymentDescriptor resultPartitionDeploymentDescriptor)
producingTaskExecutorId
- ID of task executor on which the partition is producedresultPartitionDeploymentDescriptor
- deployment descriptor of the partitionvoid stopTrackingAndReleasePartitions(Collection<ResultPartitionID> resultPartitionIds)
void stopTrackingAndReleasePartitionsFor(ResourceID producingTaskExecutorId)
void stopTrackingAndReleaseOrPromotePartitionsFor(ResourceID producingTaskExecutorId)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.