Uses of Class
org.apache.flink.runtime.io.network.partition.ResultPartitionID
-
-
Uses of ResultPartitionID in org.apache.flink.runtime.executiongraph
Methods in org.apache.flink.runtime.executiongraph that return ResultPartitionID Modifier and Type Method Description ResultPartitionIDDefaultExecutionGraph. createResultPartitionId(IntermediateResultPartitionID resultPartitionId) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network
Methods in org.apache.flink.runtime.io.network that return types with arguments of type ResultPartitionID Modifier and Type Method Description Collection<ResultPartitionID>NettyShuffleEnvironment. getPartitionsOccupyingLocalResources()Report unreleased partitions.Methods in org.apache.flink.runtime.io.network with parameters of type ResultPartitionID Modifier and Type Method Description Optional<ShuffleMetrics>NettyShuffleEnvironment. getMetricsIfPartitionOccupyingLocalResource(ResultPartitionID partitionId)booleanTaskEventDispatcher. publish(ResultPartitionID partitionId, TaskEvent event)Publishes the event to the registeredEventListenerinstances.booleanTaskEventPublisher. publish(ResultPartitionID partitionId, TaskEvent event)Publishes the event to the registeredEventListenerinstances.voidTaskEventDispatcher. registerPartition(ResultPartitionID partitionId)Registers the given partition for incoming task events allowing calls toTaskEventDispatcher.subscribeToEvent(ResultPartitionID, EventListener, Class).voidPartitionRequestClient. requestSubpartition(ResultPartitionID partitionId, ResultSubpartitionIndexSet subpartitionIndexSet, RemoteInputChannel inputChannel, int delayMs)Requests a range of remote sub partitions.voidNetworkSequenceViewReader. requestSubpartitionViewOrRegisterListener(ResultPartitionProvider partitionProvider, ResultPartitionID resultPartitionId, ResultSubpartitionIndexSet subpartitionIndexSet)When the netty server receives the downstream task's partition request and the upstream task has registered its partition, it will process the partition request immediately, otherwise it will create aPartitionRequestListenerfor givenResultPartitionIDinResultPartitionManagerand notify the listener when the upstream task registers its partition.voidPartitionRequestClient. sendTaskEvent(ResultPartitionID partitionId, TaskEvent event, RemoteInputChannel inputChannel)Sends a task event backwards to an intermediate result partition.voidTaskEventDispatcher. subscribeToEvent(ResultPartitionID partitionId, EventListener<TaskEvent> eventListener, Class<? extends TaskEvent> eventType)Subscribes a listener to this dispatcher for events on a partition.voidTaskEventDispatcher. unregisterPartition(ResultPartitionID partitionId)Removes the given partition from listening to incoming task events, thus forbidding calls toTaskEventDispatcher.subscribeToEvent(ResultPartitionID, EventListener, Class).Method parameters in org.apache.flink.runtime.io.network with type arguments of type ResultPartitionID Modifier and Type Method Description voidNettyShuffleEnvironment. releasePartitionsLocally(Collection<ResultPartitionID> partitionIds) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.api.writer
Methods in org.apache.flink.runtime.io.network.api.writer that return ResultPartitionID Modifier and Type Method Description ResultPartitionIDResultPartitionWriter. getPartitionId() -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.netty
Methods in org.apache.flink.runtime.io.network.netty that return ResultPartitionID Modifier and Type Method Description ResultPartitionIDNettyPartitionRequestListener. getResultPartitionId()Methods in org.apache.flink.runtime.io.network.netty with parameters of type ResultPartitionID Modifier and Type Method Description voidNettyPartitionRequestClient. requestSubpartition(ResultPartitionID partitionId, ResultSubpartitionIndexSet subpartitionIndexSet, RemoteInputChannel inputChannel, int delayMs)Requests a remote intermediate result partition queue.voidNettyPartitionRequestClient. sendTaskEvent(ResultPartitionID partitionId, TaskEvent event, RemoteInputChannel inputChannel)Sends a task event backwards to an intermediate result partition producer.Constructors in org.apache.flink.runtime.io.network.netty with parameters of type ResultPartitionID Constructor Description NettyPartitionRequestListener(ResultPartitionProvider resultPartitionProvider, NetworkSequenceViewReader reader, ResultSubpartitionIndexSet subpartitionIndexSet, ResultPartitionID resultPartitionId)NettyPartitionRequestListener(ResultPartitionProvider resultPartitionProvider, NetworkSequenceViewReader reader, ResultSubpartitionIndexSet subpartitionIndexSet, ResultPartitionID resultPartitionId, long createTimestamp) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.partition
Fields in org.apache.flink.runtime.io.network.partition declared as ResultPartitionID Modifier and Type Field Description protected ResultPartitionIDResultPartition. partitionIdFields in org.apache.flink.runtime.io.network.partition with type parameters of type ResultPartitionID Modifier and Type Field Description protected Map<ResultPartitionID,org.apache.flink.runtime.io.network.partition.AbstractPartitionTracker.PartitionInfo<K,M>>AbstractPartitionTracker. partitionInfosMethods in org.apache.flink.runtime.io.network.partition that return ResultPartitionID Modifier and Type Method Description ResultPartitionIDPartitionException. getPartitionId()ResultPartitionIDResultPartition. getPartitionId()ResultPartitionIDPartitionRequestListener. getResultPartitionId()Get the result partition id of the notifier.ResultPartitionIDPartitionTrackerEntry. getResultPartitionId()ResultPartitionIDTaskExecutorPartitionInfo. getResultPartitionId()Methods in org.apache.flink.runtime.io.network.partition that return types with arguments of type ResultPartitionID Modifier and Type Method Description Map<ResultPartitionID,PartitionRequestListenerManager>ResultPartitionManager. getListenerManagers()Map<ResultPartitionID,ShuffleDescriptor>DataSetMetaInfo. getShuffleDescriptors()Collection<ResultPartitionID>ResultPartitionManager. getUnreleasedPartitions()Methods in org.apache.flink.runtime.io.network.partition with parameters of type ResultPartitionID Modifier and Type Method Description ResultPartitionResultPartitionFactory. create(String taskNameWithSubtaskAndId, int partitionIndex, ResultPartitionID id, ResultPartitionType type, int numberOfPartitions, int numberOfSubpartitions, int maxParallelism, boolean isBroadcast, ShuffleDescriptor shuffleDescriptor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory, boolean isNumberOfPartitionConsumerUndefined)ResultSubpartitionViewResultPartitionManager. createSubpartitionView(ResultPartitionID partitionId, ResultSubpartitionIndexSet subpartitionIndexSet, BufferAvailabilityListener availabilityListener)ResultSubpartitionViewResultPartitionProvider. createSubpartitionView(ResultPartitionID partitionId, ResultSubpartitionIndexSet indexSet, BufferAvailabilityListener availabilityListener)Returns the requested intermediate result partition input view.Optional<ResultSubpartitionView>ResultPartitionManager. createSubpartitionViewOrRegisterListener(ResultPartitionID partitionId, ResultSubpartitionIndexSet subpartitionIndexSet, BufferAvailabilityListener availabilityListener, PartitionRequestListener partitionRequestListener)Optional<ResultSubpartitionView>ResultPartitionProvider. createSubpartitionViewOrRegisterListener(ResultPartitionID partitionId, ResultSubpartitionIndexSet indexSet, BufferAvailabilityListener availabilityListener, PartitionRequestListener partitionRequestListener)If the upstream task's partition has been registered, returns the result subpartition input view immediately, otherwise register the listener and return empty.Optional<ShuffleMetrics>ResultPartitionManager. getMetricsOfPartition(ResultPartitionID partitionId)booleanAbstractPartitionTracker. isPartitionTracked(ResultPartitionID resultPartitionID)booleanPartitionTracker. isPartitionTracked(ResultPartitionID resultPartitionID)Returns whether the given partition is being tracked.voidResultPartitionManager. releasePartition(ResultPartitionID partitionId, Throwable cause)voidPartitionProducerStateProvider. requestPartitionProducerState(IntermediateDataSetID intermediateDataSetId, ResultPartitionID resultPartitionId, Consumer<? super PartitionProducerStateProvider.ResponseHandle> responseConsumer)Trigger the producer execution state request.Method parameters in org.apache.flink.runtime.io.network.partition with type arguments of type ResultPartitionID Modifier and Type Method Description DataSetMetaInfoDataSetMetaInfo. addShuffleDescriptors(Map<ResultPartitionID,ShuffleDescriptor> shuffleDescriptors)voidTaskExecutorPartitionTracker. promoteJobPartitions(Collection<ResultPartitionID> partitionsToPromote)Promotes the given partitions.voidTaskExecutorPartitionTrackerImpl. promoteJobPartitions(Collection<ResultPartitionID> partitionsToPromote)CompletableFuture<Void>JobMasterPartitionTracker. stopTrackingAndPromotePartitions(Collection<ResultPartitionID> resultPartitionIds)Promotes the given partitions, and stops the tracking of partitions that were promoted.CompletableFuture<Void>JobMasterPartitionTrackerImpl. stopTrackingAndPromotePartitions(Collection<ResultPartitionID> resultPartitionIds)voidTaskExecutorPartitionTracker. stopTrackingAndReleaseJobPartitions(Collection<ResultPartitionID> resultPartitionIds)Releases the given partitions and stop the tracking of partitions that were released.voidTaskExecutorPartitionTrackerImpl. stopTrackingAndReleaseJobPartitions(Collection<ResultPartitionID> partitionsToRelease)default voidJobMasterPartitionTracker. stopTrackingAndReleasePartitions(Collection<ResultPartitionID> resultPartitionIds)Releases the given partitions and stop the tracking of partitions that were released.voidJobMasterPartitionTracker. stopTrackingAndReleasePartitions(Collection<ResultPartitionID> resultPartitionIds, boolean releaseOnShuffleMaster)Releases the given partitions and stop the tracking of partitions that were released.voidJobMasterPartitionTrackerImpl. stopTrackingAndReleasePartitions(Collection<ResultPartitionID> resultPartitionIds, boolean releaseOnShuffleMaster)Collection<PartitionTrackerEntry<K,M>>AbstractPartitionTracker. stopTrackingPartitions(Collection<ResultPartitionID> resultPartitionIds)Collection<PartitionTrackerEntry<K,M>>PartitionTracker. stopTrackingPartitions(Collection<ResultPartitionID> resultPartitionIds)Stops the tracking of the given partitions.Constructors in org.apache.flink.runtime.io.network.partition with parameters of type ResultPartitionID Constructor Description BoundedBlockingResultPartition(String owningTaskName, int partitionIndex, ResultPartitionID partitionId, ResultPartitionType partitionType, ResultSubpartition[] subpartitions, int numTargetKeyGroups, ResultPartitionManager partitionManager, BufferCompressor bufferCompressor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory)BufferWritingResultPartition(String owningTaskName, int partitionIndex, ResultPartitionID partitionId, ResultPartitionType partitionType, ResultSubpartition[] subpartitions, int numTargetKeyGroups, ResultPartitionManager partitionManager, BufferCompressor bufferCompressor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory)PartitionException(String message, ResultPartitionID partitionId)PartitionException(String message, ResultPartitionID partitionId, Throwable throwable)PartitionNotFoundException(ResultPartitionID partitionId)PipelinedResultPartition(String owningTaskName, int partitionIndex, ResultPartitionID partitionId, ResultPartitionType partitionType, ResultSubpartition[] subpartitions, int numTargetKeyGroups, ResultPartitionManager partitionManager, BufferCompressor bufferCompressor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory)ResultPartition(String owningTaskName, int partitionIndex, ResultPartitionID partitionId, ResultPartitionType partitionType, int numSubpartitions, int numTargetKeyGroups, ResultPartitionManager partitionManager, BufferCompressor bufferCompressor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory)SortMergeResultPartition(String owningTaskName, int partitionIndex, ResultPartitionID partitionId, ResultPartitionType partitionType, int numSubpartitions, int numTargetKeyGroups, BatchShuffleReadBufferPool readBufferPool, Executor readIOExecutor, ResultPartitionManager partitionManager, String resultFileBasePath, BufferCompressor bufferCompressor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.partition.consumer
Fields in org.apache.flink.runtime.io.network.partition.consumer declared as ResultPartitionID Modifier and Type Field Description protected ResultPartitionIDInputChannel. partitionIdThe parent partition of the subpartitions consumed by this channel.Methods in org.apache.flink.runtime.io.network.partition.consumer that return ResultPartitionID Modifier and Type Method Description ResultPartitionIDInputChannel. getPartitionId()Constructors in org.apache.flink.runtime.io.network.partition.consumer with parameters of type ResultPartitionID Constructor Description InputChannel(SingleInputGate inputGate, int channelIndex, ResultPartitionID partitionId, ResultSubpartitionIndexSet consumedSubpartitionIndexSet, int initialBackoff, int maxBackoff, org.apache.flink.metrics.Counter numBytesIn, org.apache.flink.metrics.Counter numBuffersIn)LocalInputChannel(SingleInputGate inputGate, int channelIndex, ResultPartitionID partitionId, ResultSubpartitionIndexSet consumedSubpartitionIndexSet, ResultPartitionManager partitionManager, TaskEventPublisher taskEventPublisher, int initialBackoff, int maxBackoff, org.apache.flink.metrics.Counter numBytesIn, org.apache.flink.metrics.Counter numBuffersIn, ChannelStateWriter stateWriter)PartitionConnectionException(ResultPartitionID partitionId, Throwable throwable)RemoteChannelStateChecker(ResultPartitionID resultPartitionId, String taskNameWithSubtask)RemoteInputChannel(SingleInputGate inputGate, int channelIndex, ResultPartitionID partitionId, ResultSubpartitionIndexSet consumedSubpartitionIndexSet, ConnectionID connectionId, ConnectionManager connectionManager, int initialBackOff, int maxBackoff, int partitionRequestListenerTimeout, int networkBuffersPerChannel, org.apache.flink.metrics.Counter numBytesIn, org.apache.flink.metrics.Counter numBuffersIn, ChannelStateWriter stateWriter) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.partition.hybrid.tiered.common
Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.common that return ResultPartitionID Modifier and Type Method Description static ResultPartitionIDTieredStorageIdMappingUtils. convertId(TieredStoragePartitionId partitionId)ResultPartitionIDTieredStoragePartitionId. getPartitionID()Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.common with parameters of type ResultPartitionID Modifier and Type Method Description static TieredStoragePartitionIdTieredStorageIdMappingUtils. convertId(ResultPartitionID resultPartitionId)Constructors in org.apache.flink.runtime.io.network.partition.hybrid.tiered.common with parameters of type ResultPartitionID Constructor Description TieredStoragePartitionId(ResultPartitionID partitionID) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle
Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle that return types with arguments of type ResultPartitionID Modifier and Type Method Description Map<ResultPartitionID,ShuffleDescriptor>TieredInternalShuffleMasterSnapshot. getShuffleDescriptors()Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle with parameters of type ResultPartitionID Modifier and Type Method Description List<TierShuffleDescriptor>TieredInternalShuffleMaster. addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, int numSubpartitions, ResultPartitionID resultPartitionID)TieredResultPartitionTieredResultPartitionFactory. createTieredResultPartition(String owningTaskName, int partitionIndex, ResultPartitionID partitionId, ResultPartitionType partitionType, int numPartitions, int numSubpartitions, int maxParallelism, int bufferSizeBytes, Boolean isBroadCastOnly, ResultPartitionManager partitionManager, BufferCompressor bufferCompressor, List<TierShuffleDescriptor> tierShuffleDescriptors, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory, FileChannelManager fileChannelManager, BatchShuffleReadBufferPool batchShuffleReadBufferPool, ScheduledExecutorService batchShuffleReadIOExecutor, boolean isNumberOfPartitionConsumerUndefined)Optional<ShuffleDescriptor>ShuffleDescriptorRetriever. getShuffleDescriptor(org.apache.flink.api.common.JobID jobID, ResultPartitionID resultPartitionID)Get shuffle descriptor by JobID and ResultPartitionId.Method parameters in org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle with type arguments of type ResultPartitionID Modifier and Type Method Description CompletableFuture<Collection<PartitionWithMetrics>>TieredInternalShuffleMaster. getPartitionWithMetrics(JobShuffleContext jobShuffleContext, Duration timeout, Set<ResultPartitionID> expectedPartitions)Constructors in org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle with parameters of type ResultPartitionID Constructor Description TieredResultPartition(String owningTaskName, int partitionIndex, ResultPartitionID partitionId, ResultPartitionType partitionType, int numSubpartitions, int numTargetKeyGroups, ResultPartitionManager partitionManager, BufferCompressor bufferCompressor, org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory, TieredStorageProducerClient tieredStorageProducerClient, TieredStorageResourceRegistry tieredStorageResourceRegistry, TieredStorageNettyServiceImpl nettyService, List<TieredStorageMemorySpec> tieredStorageMemorySpecs, TieredStorageMemoryManager storageMemoryManager)Constructor parameters in org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle with type arguments of type ResultPartitionID Constructor Description TieredInternalShuffleMasterSnapshot(Map<ResultPartitionID,ShuffleDescriptor> shuffleDescriptors, AllTieredShuffleMasterSnapshots allTierSnapshots) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.partition.hybrid.tiered.storage
Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.storage with parameters of type ResultPartitionID Modifier and Type Method Description List<TierShuffleDescriptor>TieredStorageMasterClient. addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, int numSubpartitions, ResultPartitionID resultPartitionID)Method parameters in org.apache.flink.runtime.io.network.partition.hybrid.tiered.storage with type arguments of type ResultPartitionID Modifier and Type Method Description CompletableFuture<Collection<PartitionWithMetrics>>TieredStorageMasterClient. getPartitionWithMetrics(JobShuffleContext jobShuffleContext, Duration timeout, Set<ResultPartitionID> expectedPartitions) -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier
Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier that return types with arguments of type ResultPartitionID Modifier and Type Method Description default CompletableFuture<Map<ResultPartitionID,ShuffleMetrics>>TierMasterAgent. getPartitionWithMetrics(org.apache.flink.api.common.JobID jobId, Duration timeout, Set<ResultPartitionID> expectedPartitions)Retrieves specified partitions and their metrics (identified byexpectedPartitions), the metrics include sizes of sub-partitions in a result partition.Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier with parameters of type ResultPartitionID Modifier and Type Method Description TierShuffleDescriptorNoOpMasterAgent. addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, int numSubpartitions, ResultPartitionID resultPartitionID)TierShuffleDescriptorTierMasterAgent. addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, int numSubpartitions, ResultPartitionID resultPartitionID)Add a new tiered storage partition and get theTierShuffleDescriptor.Method parameters in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier with type arguments of type ResultPartitionID Modifier and Type Method Description default CompletableFuture<Map<ResultPartitionID,ShuffleMetrics>>TierMasterAgent. getPartitionWithMetrics(org.apache.flink.api.common.JobID jobId, Duration timeout, Set<ResultPartitionID> expectedPartitions)Retrieves specified partitions and their metrics (identified byexpectedPartitions), the metrics include sizes of sub-partitions in a result partition. -
Uses of ResultPartitionID in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.remote
Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.remote that return types with arguments of type ResultPartitionID Modifier and Type Method Description CompletableFuture<Map<ResultPartitionID,ShuffleMetrics>>RemoteTierMasterAgent. getPartitionWithMetrics(org.apache.flink.api.common.JobID jobId, Duration timeout, Set<ResultPartitionID> expectedPartitions)Methods in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.remote with parameters of type ResultPartitionID Modifier and Type Method Description TierShuffleDescriptorRemoteTierMasterAgent. addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, int numSubpartitions, ResultPartitionID resultPartitionID)Method parameters in org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.remote with type arguments of type ResultPartitionID Modifier and Type Method Description CompletableFuture<Map<ResultPartitionID,ShuffleMetrics>>RemoteTierMasterAgent. getPartitionWithMetrics(org.apache.flink.api.common.JobID jobId, Duration timeout, Set<ResultPartitionID> expectedPartitions) -
Uses of ResultPartitionID in org.apache.flink.runtime.jobmanager
Constructors in org.apache.flink.runtime.jobmanager with parameters of type ResultPartitionID Constructor Description PartitionProducerDisposedException(ResultPartitionID resultPartitionID) -
Uses of ResultPartitionID in org.apache.flink.runtime.jobmanager.slots
Method parameters in org.apache.flink.runtime.jobmanager.slots with type arguments of type ResultPartitionID Modifier and Type Method Description voidTaskManagerGateway. releasePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds)Batch release intermediate result partitions. -
Uses of ResultPartitionID in org.apache.flink.runtime.jobmaster
Methods in org.apache.flink.runtime.jobmaster with parameters of type ResultPartitionID Modifier and Type Method Description CompletableFuture<ExecutionState>JobMaster. requestPartitionState(IntermediateDataSetID intermediateResultId, ResultPartitionID resultPartitionId)CompletableFuture<ExecutionState>JobMasterGateway. requestPartitionState(IntermediateDataSetID intermediateResultId, ResultPartitionID partitionId)Requests the current state of the partition.Method parameters in org.apache.flink.runtime.jobmaster with type arguments of type ResultPartitionID Modifier and Type Method Description CompletableFuture<Collection<PartitionWithMetrics>>JobMaster. getPartitionWithMetrics(Duration timeout, Set<ResultPartitionID> expectedPartitions)default CompletableFuture<Collection<PartitionWithMetrics>>JobMasterGateway. getPartitionWithMetrics(Duration timeout, Set<ResultPartitionID> expectedPartitions)Get specified partitions and their metrics (identified byexpectedPartitions), the metrics include sizes of sub-partitions in a result partition.voidRpcTaskManagerGateway. releasePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds)CompletableFuture<?>JobMaster. stopTrackingAndReleasePartitions(Collection<ResultPartitionID> partitionIds)CompletableFuture<?>JobMasterGateway. stopTrackingAndReleasePartitions(Collection<ResultPartitionID> partitionIds)Notifies theJobMasterPartitionTrackerto stop tracking the target result partitions and release the locally occupied resources onTaskExecutors if any. -
Uses of ResultPartitionID in org.apache.flink.runtime.scheduler
Methods in org.apache.flink.runtime.scheduler with parameters of type ResultPartitionID Modifier and Type Method Description ExecutionStateExecutionGraphHandler. requestPartitionState(IntermediateDataSetID intermediateResultId, ResultPartitionID resultPartitionId)ExecutionStateSchedulerBase. requestPartitionState(IntermediateDataSetID intermediateResultId, ResultPartitionID resultPartitionId)ExecutionStateSchedulerNG. requestPartitionState(IntermediateDataSetID intermediateResultId, ResultPartitionID resultPartitionId) -
Uses of ResultPartitionID in org.apache.flink.runtime.scheduler.adaptive
Methods in org.apache.flink.runtime.scheduler.adaptive with parameters of type ResultPartitionID Modifier and Type Method Description ExecutionStateAdaptiveScheduler. requestPartitionState(IntermediateDataSetID intermediateResultId, ResultPartitionID resultPartitionId) -
Uses of ResultPartitionID in org.apache.flink.runtime.shuffle
Methods in org.apache.flink.runtime.shuffle that return ResultPartitionID Modifier and Type Method Description ResultPartitionIDNettyShuffleDescriptor. getResultPartitionID()ResultPartitionIDShuffleDescriptor. getResultPartitionID()ResultPartitionIDUnknownShuffleDescriptor. getResultPartitionID()Methods in org.apache.flink.runtime.shuffle that return types with arguments of type ResultPartitionID Modifier and Type Method Description Collection<ResultPartitionID>ShuffleEnvironment. getPartitionsOccupyingLocalResources()Report partitions which still occupy some resources locally.Methods in org.apache.flink.runtime.shuffle with parameters of type ResultPartitionID Modifier and Type Method Description default Optional<ShuffleMetrics>ShuffleEnvironment. getMetricsIfPartitionOccupyingLocalResource(ResultPartitionID partitionId)Get metrics of the partition if it still occupies some resources locally and have not been released yet.Optional<ShuffleDescriptor>NettyShuffleMaster. getShuffleDescriptor(org.apache.flink.api.common.JobID jobID, ResultPartitionID resultPartitionID)Method parameters in org.apache.flink.runtime.shuffle with type arguments of type ResultPartitionID Modifier and Type Method Description CompletableFuture<Collection<PartitionWithMetrics>>JobShuffleContext. getPartitionWithMetrics(Duration timeout, Set<ResultPartitionID> expectedPartitions)Retrieves specified partitions and their metrics (identified byexpectedPartitions), the metrics include sizes of sub-partitions in a result partition.CompletableFuture<Collection<PartitionWithMetrics>>JobShuffleContextImpl. getPartitionWithMetrics(Duration timeout, Set<ResultPartitionID> expectedPartitions)CompletableFuture<Collection<PartitionWithMetrics>>NettyShuffleMaster. getPartitionWithMetrics(org.apache.flink.api.common.JobID jobId, Duration timeout, Set<ResultPartitionID> expectedPartitions)default CompletableFuture<Collection<PartitionWithMetrics>>ShuffleMaster. getPartitionWithMetrics(org.apache.flink.api.common.JobID jobId, Duration timeout, Set<ResultPartitionID> expectedPartitions)Retrieves specified partitions and their metrics (identified byexpectedPartitions), the metrics include sizes of sub-partitions in a result partition.voidShuffleEnvironment. releasePartitionsLocally(Collection<ResultPartitionID> partitionIds)Release local resources occupied by the given partitions.CompletableFuture<?>JobShuffleContext. stopTrackingAndReleasePartitions(Collection<ResultPartitionID> partitionIds)Notifies the job to stop tracking and release the target result partitions, which means these partitions will be removed and will be reproduced if used afterwards.CompletableFuture<?>JobShuffleContextImpl. stopTrackingAndReleasePartitions(Collection<ResultPartitionID> partitionIds)Constructors in org.apache.flink.runtime.shuffle with parameters of type ResultPartitionID Constructor Description NettyShuffleDescriptor(ResourceID producerLocation, NettyShuffleDescriptor.PartitionConnectionInfo partitionConnectionInfo, ResultPartitionID resultPartitionID)NettyShuffleDescriptor(ResourceID producerLocation, NettyShuffleDescriptor.PartitionConnectionInfo partitionConnectionInfo, ResultPartitionID resultPartitionID, List<TierShuffleDescriptor> tierShuffleDescriptors)UnknownShuffleDescriptor(ResultPartitionID resultPartitionID) -
Uses of ResultPartitionID in org.apache.flink.runtime.taskexecutor
Methods in org.apache.flink.runtime.taskexecutor with parameters of type ResultPartitionID Modifier and Type Method Description CompletableFuture<ExecutionState>PartitionProducerStateChecker. requestPartitionProducerState(org.apache.flink.api.common.JobID jobId, IntermediateDataSetID intermediateDataSetId, ResultPartitionID resultPartitionId)Requests the execution state of the execution producing a result partition.Method parameters in org.apache.flink.runtime.taskexecutor with type arguments of type ResultPartitionID Modifier and Type Method Description CompletableFuture<Acknowledge>TaskExecutor. promotePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds)CompletableFuture<Acknowledge>TaskExecutorGateway. promotePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds)Batch promote intermediate result partitions.CompletableFuture<Acknowledge>TaskExecutorGatewayDecoratorBase. promotePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds)voidTaskExecutor. releasePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds)voidTaskExecutorGateway. releasePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds)Batch release intermediate result partitions.voidTaskExecutorGatewayDecoratorBase. releasePartitions(org.apache.flink.api.common.JobID jobId, Set<ResultPartitionID> partitionIds) -
Uses of ResultPartitionID in org.apache.flink.runtime.taskexecutor.partition
Methods in org.apache.flink.runtime.taskexecutor.partition that return types with arguments of type ResultPartitionID Modifier and Type Method Description Set<ResultPartitionID>ClusterPartitionReport.ClusterPartitionReportEntry. getHostedPartitions()Map<ResultPartitionID,ShuffleDescriptor>ClusterPartitionReport.ClusterPartitionReportEntry. getShuffleDescriptors()Collection<ResultPartitionID>PartitionTable. getTrackedPartitions(K key)Collection<ResultPartitionID>PartitionTable. stopTrackingPartitions(K key)Stops the tracking of all partition for the given key.Method parameters in org.apache.flink.runtime.taskexecutor.partition with type arguments of type ResultPartitionID Modifier and Type Method Description voidPartitionTable. startTrackingPartitions(K key, Collection<ResultPartitionID> newPartitionIds)Starts the tracking of the given partition for the given key.voidPartitionTable. stopTrackingPartitions(K key, Collection<ResultPartitionID> partitionIds)Stops the tracking of the given set of partitions for the given key.Constructor parameters in org.apache.flink.runtime.taskexecutor.partition with type arguments of type ResultPartitionID Constructor Description ClusterPartitionReportEntry(IntermediateDataSetID dataSetId, int numTotalPartitions, Map<ResultPartitionID,ShuffleDescriptor> shuffleDescriptors) -
Uses of ResultPartitionID in org.apache.flink.runtime.taskexecutor.rpc
Methods in org.apache.flink.runtime.taskexecutor.rpc with parameters of type ResultPartitionID Modifier and Type Method Description CompletableFuture<ExecutionState>RpcPartitionStateChecker. requestPartitionProducerState(org.apache.flink.api.common.JobID jobId, IntermediateDataSetID resultId, ResultPartitionID partitionId) -
Uses of ResultPartitionID in org.apache.flink.runtime.taskmanager
Methods in org.apache.flink.runtime.taskmanager with parameters of type ResultPartitionID Modifier and Type Method Description voidTask. requestPartitionProducerState(IntermediateDataSetID intermediateDataSetId, ResultPartitionID resultPartitionId, Consumer<? super PartitionProducerStateProvider.ResponseHandle> responseConsumer)
-