public interface ClusterPartitionManager
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<ShuffleDescriptor>> |
getClusterPartitionsShuffleDescriptors(IntermediateDataSetID intermediateDataSetID)
Get the shuffle descriptors of the cluster partitions ordered by partition number.
|
CompletableFuture<Map<IntermediateDataSetID,DataSetMetaInfo>> |
listDataSets()
Returns all datasets for which partitions are being tracked.
|
CompletableFuture<Void> |
releaseClusterPartitions(IntermediateDataSetID dataSetToRelease)
Releases all partitions associated with the given dataset.
|
CompletableFuture<Void> |
reportClusterPartitions(ResourceID taskExecutorId,
ClusterPartitionReport clusterPartitionReport)
Report the cluster partitions status in the task executor.
|
CompletableFuture<Map<IntermediateDataSetID,DataSetMetaInfo>> listDataSets()
CompletableFuture<Void> releaseClusterPartitions(IntermediateDataSetID dataSetToRelease)
dataSetToRelease
- dataset for which all associated partitions should be releasedCompletableFuture<Void> reportClusterPartitions(ResourceID taskExecutorId, ClusterPartitionReport clusterPartitionReport)
taskExecutorId
- The id of the task executor.clusterPartitionReport
- The status of the cluster partitions.CompletableFuture<List<ShuffleDescriptor>> getClusterPartitionsShuffleDescriptors(IntermediateDataSetID intermediateDataSetID)
intermediateDataSetID
- The id of the dataset.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.