Class TieredInternalShuffleMaster
- java.lang.Object
-
- org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle.TieredInternalShuffleMaster
-
public class TieredInternalShuffleMaster extends Object
A wrapper internal shuffle master class for tiered storage. All the tiered storage operations with the shuffle master should be wrapped in this class.
-
-
Constructor Summary
Constructors Constructor Description TieredInternalShuffleMaster(ShuffleMasterContext shuffleMasterContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TierShuffleDescriptor>addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, ResultPartitionID resultPartitionID)voidclose()voidregisterJob(JobShuffleContext context)Registers the target job together with the correspondingJobShuffleContextto this shuffle master.voidreleasePartition(ShuffleDescriptor shuffleDescriptor)voidunregisterJob(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.
-
-
-
Constructor Detail
-
TieredInternalShuffleMaster
public TieredInternalShuffleMaster(ShuffleMasterContext shuffleMasterContext)
-
-
Method Detail
-
registerJob
public void registerJob(JobShuffleContext context)
Registers the target job together with the correspondingJobShuffleContextto this shuffle master.
-
unregisterJob
public 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.- Parameters:
jobID- ID of the target job to be unregistered.
-
addPartitionAndGetShuffleDescriptor
public List<TierShuffleDescriptor> addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, ResultPartitionID resultPartitionID)
-
releasePartition
public void releasePartition(ShuffleDescriptor shuffleDescriptor)
-
close
public void close()
-
-