Uses of Class
org.apache.flink.runtime.taskmanager.TaskManagerLocation
Packages that use TaskManagerLocation
Package
Description
-
Uses of TaskManagerLocation in org.apache.flink.runtime.clusterframework.types
Methods in org.apache.flink.runtime.clusterframework.types that return types with arguments of type TaskManagerLocationModifier and TypeMethodDescriptionSlotProfile.getPreferredLocations()Returns the preferred locations for the slot.Method parameters in org.apache.flink.runtime.clusterframework.types with type arguments of type TaskManagerLocationModifier and TypeMethodDescriptionstatic SlotProfileSlotProfile.priorAllocation(ResourceProfile taskResourceProfile, ResourceProfile physicalSlotResourceProfile, Collection<TaskManagerLocation> preferredLocations, Collection<AllocationID> priorAllocations, Set<AllocationID> reservedAllocations) Returns a slot profile for the given resource profile, prior allocations and all prior allocation ids from the whole execution graph. -
Uses of TaskManagerLocation in org.apache.flink.runtime.executiongraph
Methods in org.apache.flink.runtime.executiongraph that return TaskManagerLocationModifier and TypeMethodDescriptionAccessExecution.getAssignedResourceLocation()Returns theTaskManagerLocationfor this execution.ArchivedExecution.getAssignedResourceLocation()Execution.getAssignedResourceLocation()AccessExecutionVertex.getCurrentAssignedResourceLocation()Returns theTaskManagerLocationfor this execution vertex.ArchivedExecutionVertex.getCurrentAssignedResourceLocation()ExecutionVertex.getCurrentAssignedResourceLocation()Methods in org.apache.flink.runtime.executiongraph that return types with arguments of type TaskManagerLocationModifier and TypeMethodDescriptionExecutionVertex.findLastLocation()Gets the location that an execution of this vertex was assigned to.ExecutionVertex.getCurrentTaskManagerLocationFuture()ExecutionVertex.getPreferredLocationBasedOnState()Gets the preferred location to execute the current task execution attempt, based on the state that the execution attempt will resume.SpeculativeExecutionVertex.getPreferredLocationBasedOnState()Execution.getTaskManagerLocationFuture()Methods in org.apache.flink.runtime.executiongraph with parameters of type TaskManagerLocationModifier and TypeMethodDescriptionvoidExecution.recoverExecution(ExecutionAttemptID attemptId, TaskManagerLocation location, Map<String, org.apache.flink.api.common.accumulators.Accumulator<?, ?>> userAccumulators, IOMetrics metrics) Recover the execution attempt status after JM failover.Execution.registerProducedPartitions(TaskManagerLocation location) Constructors in org.apache.flink.runtime.executiongraph with parameters of type TaskManagerLocationModifierConstructorDescriptionArchivedExecution(StringifiedAccumulatorResult[] userAccumulators, IOMetrics ioMetrics, ExecutionAttemptID attemptId, ExecutionState state, ErrorInfo failureCause, TaskManagerLocation assignedResourceLocation, AllocationID assignedAllocationID, long[] stateTimestamps, long[] stateEndTimestamps) -
Uses of TaskManagerLocation in org.apache.flink.runtime.io.network
Constructors in org.apache.flink.runtime.io.network with parameters of type TaskManagerLocationModifierConstructorDescriptionConnectionID(TaskManagerLocation connectionInfo, int connectionIndex) -
Uses of TaskManagerLocation in org.apache.flink.runtime.jobmaster
Methods in org.apache.flink.runtime.jobmaster that return TaskManagerLocationModifier and TypeMethodDescriptionLogicalSlot.getTaskManagerLocation()Return the TaskManager location of this slot.SlotInfo.getTaskManagerLocation()Gets the location info of the TaskManager that offers this slot. -
Uses of TaskManagerLocation in org.apache.flink.runtime.jobmaster.event
Methods in org.apache.flink.runtime.jobmaster.event that return TaskManagerLocationConstructors in org.apache.flink.runtime.jobmaster.event with parameters of type TaskManagerLocationModifierConstructorDescriptionExecutionVertexFinishedEvent(ExecutionAttemptID executionAttemptId, TaskManagerLocation location, Map<OperatorID, CompletableFuture<byte[]>> operatorCoordinatorSnapshotFutures, CompletableFuture<ShuffleMasterSnapshot> shuffleMasterSnapshotFuture, IOMetrics ioMetrics, Map<String, org.apache.flink.api.common.accumulators.Accumulator<?, ?>> userAccumulators) -
Uses of TaskManagerLocation in org.apache.flink.runtime.jobmaster.slotpool
Methods in org.apache.flink.runtime.jobmaster.slotpool that return TaskManagerLocationMethods in org.apache.flink.runtime.jobmaster.slotpool with parameters of type TaskManagerLocationModifier and TypeMethodDescriptionBlocklistDeclarativeSlotPool.offerSlots(Collection<? extends SlotOffer> offers, TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, long currentTime) DeclarativeSlotPool.offerSlots(Collection<? extends SlotOffer> offers, TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, long currentTime) Offers slots to this slot pool.DeclarativeSlotPoolBridge.offerSlots(TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, Collection<SlotOffer> offers) DeclarativeSlotPoolService.offerSlots(TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, Collection<SlotOffer> offers) DefaultDeclarativeSlotPool.offerSlots(Collection<? extends SlotOffer> offers, TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, long currentTime) SlotPool.offerSlots(TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, Collection<SlotOffer> offers) Offers multiple slots to theSlotPool.SlotPoolService.offerSlots(TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, Collection<SlotOffer> offers) Offers multiple slots to theSlotPoolService.BlocklistDeclarativeSlotPool.registerSlots(Collection<? extends SlotOffer> slots, TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, long currentTime) DeclarativeSlotPool.registerSlots(Collection<? extends SlotOffer> slots, TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, long currentTime) Registers the given set of slots at the slot pool.DefaultDeclarativeSlotPool.registerSlots(Collection<? extends SlotOffer> slots, TaskManagerLocation taskManagerLocation, TaskManagerGateway taskManagerGateway, long currentTime) -
Uses of TaskManagerLocation in org.apache.flink.runtime.scheduler
Methods in org.apache.flink.runtime.scheduler that return types with arguments of type TaskManagerLocationModifier and TypeMethodDescriptionDefaultPreferredLocationsRetriever.getPreferredLocations(ExecutionVertexID executionVertexId, Set<ExecutionVertexID> producersToIgnore) PreferredLocationsRetriever.getPreferredLocations(ExecutionVertexID executionVertexId, Set<ExecutionVertexID> producersToIgnore) Returns preferred locations of an execution vertex.SyncPreferredLocationsRetriever.getPreferredLocations(ExecutionVertexID executionVertexId, Set<ExecutionVertexID> producersToIgnore) Returns preferred locations of an execution vertex.StateLocationRetriever.getStateLocation(ExecutionVertexID executionVertexId) Returns state location of an execution vertex.ExecutionGraphToInputsLocationsRetrieverAdapter.getTaskManagerLocation(ExecutionVertexID executionVertexId) InputsLocationsRetriever.getTaskManagerLocation(ExecutionVertexID executionVertexId) Get the task manager location future for an execution vertex. -
Uses of TaskManagerLocation in org.apache.flink.runtime.scheduler.exceptionhistory
Constructors in org.apache.flink.runtime.scheduler.exceptionhistory with parameters of type TaskManagerLocationModifierConstructorDescriptionprotectedExceptionHistoryEntry(Throwable cause, long timestamp, CompletableFuture<Map<String, String>> failureLabels, String failingTaskName, TaskManagerLocation taskManagerLocation) Instantiates aExceptionHistoryEntry.RootExceptionHistoryEntry(Throwable cause, long timestamp, CompletableFuture<Map<String, String>> failureLabels, String failingTaskName, TaskManagerLocation taskManagerLocation, Collection<ExceptionHistoryEntry> concurrentExceptions) Instantiates aRootExceptionHistoryEntry. -
Uses of TaskManagerLocation in org.apache.flink.runtime.shuffle
Methods in org.apache.flink.runtime.shuffle with parameters of type TaskManagerLocationModifier and TypeMethodDescriptionstatic ProducerDescriptorProducerDescriptor.create(TaskManagerLocation producerLocation, ExecutionAttemptID attemptId) -
Uses of TaskManagerLocation in org.apache.flink.runtime.taskmanager
Methods in org.apache.flink.runtime.taskmanager that return TaskManagerLocationModifier and TypeMethodDescriptionstatic TaskManagerLocationTaskManagerLocation.fromUnresolvedLocation(UnresolvedTaskManagerLocation unresolvedLocation, TaskManagerLocation.ResolutionMode resolutionMode) Methods in org.apache.flink.runtime.taskmanager with parameters of type TaskManagerLocation