public class TieredInternalShuffleMaster extends Object
| Constructor and Description |
|---|
TieredInternalShuffleMaster(ShuffleMasterContext shuffleMasterContext) |
| Modifier and Type | Method and Description |
|---|---|
List<TierShuffleDescriptor> |
addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID,
ResultPartitionID resultPartitionID) |
void |
close() |
void |
registerJob(JobShuffleContext context)
Registers the target job together with the corresponding
JobShuffleContext to this
shuffle master. |
void |
releasePartition(ShuffleDescriptor shuffleDescriptor) |
void |
unregisterJob(org.apache.flink.api.common.JobID jobID)
Unregisters the target job from this shuffle master, which means the corresponding job has
reached a global termination state and all the allocated resources except for the cluster
partitions can be cleared.
|
public TieredInternalShuffleMaster(ShuffleMasterContext shuffleMasterContext)
public void registerJob(JobShuffleContext context)
JobShuffleContext to this
shuffle master.public void unregisterJob(org.apache.flink.api.common.JobID jobID)
jobID - ID of the target job to be unregistered.public List<TierShuffleDescriptor> addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, ResultPartitionID resultPartitionID)
public void releasePartition(ShuffleDescriptor shuffleDescriptor)
public void close()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.