| 限定符和类型 | 字段和说明 |
|---|---|
protected ExecutionAttemptID |
AccumulatorRegistry.taskID |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
AccumulatorSnapshot.getExecutionAttemptID() |
| 构造器和说明 |
|---|
AccumulatorRegistry(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID taskID) |
AccumulatorSnapshot(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
Map<String,org.apache.flink.api.common.accumulators.Accumulator<?,?>> userAccumulators) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CheckpointCoordinatorGateway.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
org.apache.flink.util.SerializedValue<TaskStateSnapshot> subtaskState) |
PendingCheckpoint.TaskAcknowledgeResult |
PendingCheckpoint.acknowledgeTask(ExecutionAttemptID executionAttemptId,
TaskStateSnapshot operatorSubtaskStates,
CheckpointMetrics metrics)
Acknowledges the task with the given execution attempt id and the given subtask state.
|
void |
CheckpointFailureManager.FailJobCallback.failJobDueToTaskFailure(Throwable cause,
ExecutionAttemptID failingTask)
Fails the whole job graph due to task failure.
|
void |
CheckpointCoordinator.failUnacknowledgedPendingCheckpointsFor(ExecutionAttemptID executionAttemptId,
Throwable cause)
Fails all pending checkpoints which have not been acknowledged by the given execution attempt
id.
|
Optional<ExecutionVertex> |
ExecutionAttemptMappingProvider.getVertex(ExecutionAttemptID id) |
void |
CheckpointFailureManager.handleCheckpointException(PendingCheckpoint pendingCheckpoint,
CheckpointProperties checkpointProperties,
CheckpointException exception,
ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID job,
PendingCheckpointStats pendingCheckpointStats,
CheckpointStatsTracker statsTracker)
Failures on JM:
all checkpoints - go against failure counter.
|
boolean |
PendingCheckpoint.isAcknowledgedBy(ExecutionAttemptID executionAttemptId) |
void |
CheckpointCoordinatorGateway.reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics) |
void |
CheckpointCoordinator.reportStats(long id,
ExecutionAttemptID attemptId,
CheckpointMetrics metrics) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
TaskDeploymentDescriptor.getExecutionAttemptId() |
| 构造器和说明 |
|---|
TaskDeploymentDescriptor(org.apache.flink.api.common.JobID jobId,
TaskDeploymentDescriptor.MaybeOffloaded<JobInformation> serializedJobInformation,
TaskDeploymentDescriptor.MaybeOffloaded<TaskInformation> serializedTaskInformation,
ExecutionAttemptID executionAttemptId,
AllocationID allocationId,
JobManagerTaskRestore taskRestore,
List<ResultPartitionDeploymentDescriptor> resultPartitionDeploymentDescriptors,
List<InputGateDeploymentDescriptor> inputGateDeploymentDescriptors) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
Environment.getExecutionId()
Gets the ID of the task execution attempt.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ExecutionAttemptID |
ExecutionAttemptID.fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf) |
ExecutionAttemptID |
AccessExecution.getAttemptId()
Returns the
ExecutionAttemptID for this Execution. |
ExecutionAttemptID |
ArchivedExecution.getAttemptId() |
ExecutionAttemptID |
Execution.getAttemptId() |
ExecutionAttemptID |
TaskExecutionStateTransition.getID() |
static ExecutionAttemptID |
ExecutionAttemptID.randomId() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<ExecutionAttemptID,Execution> |
DefaultExecutionGraph.getRegisteredExecutions() |
Map<ExecutionAttemptID,Execution> |
ExecutionGraph.getRegisteredExecutions() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SpeculativeExecutionVertex.archiveFailedExecution(ExecutionAttemptID executionAttemptId)
Remove execution from currentExecutions if it is failed.
|
Optional<AccessExecution> |
DefaultExecutionGraph.findExecution(ExecutionAttemptID attemptId) |
Optional<AccessExecution> |
ExecutionGraph.findExecution(ExecutionAttemptID attemptId) |
Optional<String> |
DefaultExecutionGraph.findVertexWithAttempt(ExecutionAttemptID attemptId) |
Optional<String> |
ExecutionGraph.findVertexWithAttempt(ExecutionAttemptID attemptId) |
void |
DefaultExecutionGraph.notifySchedulerNgAboutInternalTaskFailure(ExecutionAttemptID attemptId,
Throwable t,
boolean cancelTask,
boolean releasePartitions) |
void |
InternalExecutionGraphAccessor.notifySchedulerNgAboutInternalTaskFailure(ExecutionAttemptID attemptId,
Throwable t,
boolean cancelTask,
boolean releasePartitions) |
void |
ExecutionDeploymentListener.onCompletedDeployment(ExecutionAttemptID execution) |
void |
NoOpExecutionDeploymentListener.onCompletedDeployment(ExecutionAttemptID execution) |
void |
ExecutionDeploymentListener.onStartedDeployment(ExecutionAttemptID execution,
ResourceID host) |
void |
NoOpExecutionDeploymentListener.onStartedDeployment(ExecutionAttemptID execution,
ResourceID host) |
void |
ExecutionStateUpdateListener.onStateUpdate(ExecutionAttemptID execution,
ExecutionState previousState,
ExecutionState newState) |
| 构造器和说明 |
|---|
ArchivedExecution(StringifiedAccumulatorResult[] userAccumulators,
IOMetrics ioMetrics,
ExecutionAttemptID attemptId,
ExecutionState state,
ErrorInfo failureCause,
TaskManagerLocation assignedResourceLocation,
AllocationID assignedAllocationID,
long[] stateTimestamps,
long[] stateEndTimestamps) |
| 限定符和类型 | 方法和说明 |
|---|---|
Future<org.apache.flink.core.fs.Path> |
FileCache.createTmpFile(String name,
org.apache.flink.api.common.cache.DistributedCache.DistributedCacheEntry entry,
org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionId)
If the file doesn't exists locally, retrieve the file from the blob-service.
|
void |
FileCache.releaseJob(org.apache.flink.api.common.JobID jobId,
ExecutionAttemptID executionId) |
| 限定符和类型 | 方法和说明 |
|---|---|
ShuffleIOOwnerContext |
NettyShuffleEnvironment.createShuffleIOOwnerContext(String ownerName,
ExecutionAttemptID executionAttemptID,
org.apache.flink.metrics.MetricGroup parentGroup) |
boolean |
NettyShuffleEnvironment.updatePartitionInfo(ExecutionAttemptID consumerID,
PartitionInfo partitionInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
ResultPartitionID.getProducerId() |
| 构造器和说明 |
|---|
ResultPartitionID(IntermediateResultPartitionID partitionId,
ExecutionAttemptID producerId) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
InputGateID.getConsumerID() |
| 构造器和说明 |
|---|
InputGateID(IntermediateDataSetID consumedResultID,
ExecutionAttemptID consumerID) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<Acknowledge> |
TaskManagerGateway.cancelTask(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.time.Time timeout)
Cancel the given task.
|
void |
TaskManagerGateway.notifyCheckpointAborted(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID jobId,
long checkpointId,
long latestCompletedCheckpointId,
long timestamp)
Notify the given task about a aborted checkpoint.
|
void |
TaskManagerGateway.notifyCheckpointOnComplete(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID jobId,
long completedCheckpointId,
long completedTimestamp,
long lastSubsumedCheckpointId)
Notify the given task about a completed checkpoint and the last subsumed checkpoint id if
possible.
|
CompletableFuture<Acknowledge> |
TaskManagerGateway.sendOperatorEventToTask(ExecutionAttemptID task,
OperatorID operator,
org.apache.flink.util.SerializedValue<OperatorEvent> evt) |
CompletableFuture<Acknowledge> |
TaskManagerGateway.triggerCheckpoint(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID jobId,
long checkpointId,
long timestamp,
CheckpointOptions checkpointOptions)
Trigger for the given task a checkpoint.
|
CompletableFuture<Acknowledge> |
TaskManagerGateway.updatePartitions(ExecutionAttemptID executionAttemptID,
Iterable<PartitionInfo> partitionInfos,
org.apache.flink.api.common.time.Time timeout)
Update the task where the given partitions can be found.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<ExecutionAttemptID,ExecutionDeploymentState> |
DefaultExecutionDeploymentTracker.getExecutionsOn(ResourceID host) |
Map<ExecutionAttemptID,ExecutionDeploymentState> |
ExecutionDeploymentTracker.getExecutionsOn(ResourceID host)
Returns all tracked executions for the given host.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JobMaster.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
org.apache.flink.util.SerializedValue<TaskStateSnapshot> checkpointState) |
CompletableFuture<Acknowledge> |
RpcTaskManagerGateway.cancelTask(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.time.Time timeout) |
void |
DefaultExecutionDeploymentTracker.completeDeploymentOf(ExecutionAttemptID executionAttemptId) |
void |
ExecutionDeploymentTracker.completeDeploymentOf(ExecutionAttemptID executionAttemptId)
Marks the deployment of the given execution as complete.
|
void |
RpcTaskManagerGateway.notifyCheckpointAborted(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID jobId,
long checkpointId,
long latestCompletedCheckpointId,
long timestamp) |
void |
RpcTaskManagerGateway.notifyCheckpointOnComplete(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID jobId,
long completedCheckpointId,
long completedTimestamp,
long lastSubsumedCheckpointId) |
void |
ExecutionDeploymentTrackerDeploymentListenerAdapter.onCompletedDeployment(ExecutionAttemptID execution) |
void |
ExecutionDeploymentTrackerDeploymentListenerAdapter.onStartedDeployment(ExecutionAttemptID execution,
ResourceID host) |
void |
JobMaster.reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics) |
CompletableFuture<SerializedInputSplit> |
JobMasterGateway.requestNextInputSplit(JobVertexID vertexID,
ExecutionAttemptID executionAttempt)
Requests the next input split for the
ExecutionJobVertex. |
CompletableFuture<SerializedInputSplit> |
JobMaster.requestNextInputSplit(JobVertexID vertexID,
ExecutionAttemptID executionAttempt) |
CompletableFuture<Acknowledge> |
JobMasterOperatorEventGateway.sendOperatorEventToCoordinator(ExecutionAttemptID task,
OperatorID operatorID,
org.apache.flink.util.SerializedValue<OperatorEvent> event) |
CompletableFuture<Acknowledge> |
JobMaster.sendOperatorEventToCoordinator(ExecutionAttemptID task,
OperatorID operatorID,
org.apache.flink.util.SerializedValue<OperatorEvent> serializedEvent) |
CompletableFuture<Acknowledge> |
RpcTaskManagerGateway.sendOperatorEventToTask(ExecutionAttemptID task,
OperatorID operator,
org.apache.flink.util.SerializedValue<OperatorEvent> evt) |
void |
DefaultExecutionDeploymentTracker.startTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId,
ResourceID host) |
void |
ExecutionDeploymentTracker.startTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId,
ResourceID host)
Starts tracking the given execution that is being deployed on the given host.
|
void |
DefaultExecutionDeploymentTracker.stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId) |
void |
ExecutionDeploymentTracker.stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId)
Stops tracking the given execution.
|
CompletableFuture<Acknowledge> |
RpcTaskManagerGateway.triggerCheckpoint(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID jobId,
long checkpointId,
long timestamp,
CheckpointOptions checkpointOptions) |
CompletableFuture<Acknowledge> |
RpcTaskManagerGateway.updatePartitions(ExecutionAttemptID executionAttemptID,
Iterable<PartitionInfo> partitionInfos,
org.apache.flink.api.common.time.Time timeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ExecutionDeploymentReconciliationHandler.onMissingDeploymentsOf(Collection<ExecutionAttemptID> executionAttemptIds,
ResourceID hostingTaskExecutor)
Called if some executions are expected to be hosted on a task executor, but aren't.
|
void |
ExecutionDeploymentReconciliationHandler.onUnknownDeploymentsOf(Collection<ExecutionAttemptID> executionAttemptIds,
ResourceID hostingTaskExecutor)
Called if some executions are hosted on a task executor, but we don't expect them.
|
void |
DefaultExecutionDeploymentReconciler.reconcileExecutionDeployments(ResourceID taskExecutorHost,
ExecutionDeploymentReport executionDeploymentReport,
Map<ExecutionAttemptID,ExecutionDeploymentState> expectedDeployedExecutions) |
void |
ExecutionDeploymentReconciler.reconcileExecutionDeployments(ResourceID taskExecutorHost,
ExecutionDeploymentReport executionDeploymentReport,
Map<ExecutionAttemptID,ExecutionDeploymentState> expectedDeployedExecutionIds)
Reconciles the deployment states between all reported/expected executions for the given task
executor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
TaskBackPressureResponse.getExecutionAttemptID() |
| 构造器和说明 |
|---|
TaskBackPressureResponse(int requestId,
ExecutionAttemptID executionAttemptID,
double backPressureRatio) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
AbstractCheckpointMessage.getTaskExecutionId() |
| 构造器和说明 |
|---|
AbstractCheckpointMessage(org.apache.flink.api.common.JobID job,
ExecutionAttemptID taskExecutionId,
long checkpointId) |
AcknowledgeCheckpoint(org.apache.flink.api.common.JobID jobId,
ExecutionAttemptID taskExecutionId,
long checkpointId) |
AcknowledgeCheckpoint(org.apache.flink.api.common.JobID job,
ExecutionAttemptID taskExecutionId,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot subtaskState) |
DeclineCheckpoint(org.apache.flink.api.common.JobID job,
ExecutionAttemptID taskExecutionId,
long checkpointId,
CheckpointException checkpointException) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
TaskMetricGroup.executionId() |
| 限定符和类型 | 方法和说明 |
|---|---|
TaskMetricGroup |
UnregisteredMetricGroups.UnregisteredTaskManagerJobMetricGroup.addTask(ExecutionAttemptID executionAttemptID,
String taskName) |
TaskMetricGroup |
TaskManagerJobMetricGroup.addTask(ExecutionAttemptID executionAttemptID,
String taskName) |
void |
TaskManagerJobMetricGroup.removeTaskMetricGroup(ExecutionAttemptID executionId) |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
TaskScopeFormat.formatScope(TaskManagerJobMetricGroup parent,
org.apache.flink.util.AbstractID vertexId,
ExecutionAttemptID attemptId,
String taskName,
int subtask,
int attemptNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
OperatorCoordinator.SubtaskGateway.getExecution()
Gets the execution attempt for the subtask execution attempt that this gateway
communicates with.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ExecutionGraphHandler.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot checkpointState) |
void |
SchedulerNG.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot checkpointState) |
void |
SchedulerBase.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot checkpointState) |
void |
SimpleExecutionSlotAllocator.cancel(ExecutionAttemptID executionAttemptId) |
void |
ExecutionSlotAllocator.cancel(ExecutionAttemptID executionAttemptId)
Cancel the ongoing slot request of the given
Execution. |
void |
DefaultOperatorCoordinatorHandler.deliverOperatorEventToCoordinator(ExecutionAttemptID taskExecutionId,
OperatorID operatorId,
OperatorEvent evt) |
void |
SchedulerNG.deliverOperatorEventToCoordinator(ExecutionAttemptID taskExecution,
OperatorID operator,
OperatorEvent evt)
Delivers the given OperatorEvent to the
OperatorCoordinator with the given OperatorID. |
void |
SchedulerBase.deliverOperatorEventToCoordinator(ExecutionAttemptID taskExecutionId,
OperatorID operatorId,
OperatorEvent evt) |
void |
OperatorCoordinatorHandler.deliverOperatorEventToCoordinator(ExecutionAttemptID taskExecutionId,
OperatorID operatorId,
OperatorEvent event)
Delivers an OperatorEvent to a
OperatorCoordinator. |
void |
InternalFailuresListener.notifyTaskFailure(ExecutionAttemptID attemptId,
Throwable t,
boolean cancelTask,
boolean releasePartitions) |
void |
UpdateSchedulerNgOnInternalFailuresListener.notifyTaskFailure(ExecutionAttemptID attemptId,
Throwable t,
boolean cancelTask,
boolean releasePartitions) |
void |
ExecutionGraphHandler.reportCheckpointMetrics(ExecutionAttemptID attemptId,
long id,
CheckpointMetrics metrics) |
void |
SchedulerNG.reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics) |
void |
SchedulerBase.reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID attemptId,
long id,
CheckpointMetrics metrics) |
SerializedInputSplit |
ExecutionGraphHandler.requestNextInputSplit(JobVertexID vertexID,
ExecutionAttemptID executionAttempt) |
SerializedInputSplit |
SchedulerNG.requestNextInputSplit(JobVertexID vertexID,
ExecutionAttemptID executionAttempt) |
SerializedInputSplit |
SchedulerBase.requestNextInputSplit(JobVertexID vertexID,
ExecutionAttemptID executionAttempt) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<org.apache.flink.runtime.scheduler.ExecutionSlotAssignment> |
SimpleExecutionSlotAllocator.allocateSlotsFor(List<ExecutionAttemptID> executionAttemptIds) |
List<org.apache.flink.runtime.scheduler.ExecutionSlotAssignment> |
ExecutionSlotAllocator.allocateSlotsFor(List<ExecutionAttemptID> executionAttemptIds)
Allocate slots for the given executions.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AdaptiveScheduler.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot checkpointState) |
void |
AdaptiveScheduler.deliverOperatorEventToCoordinator(ExecutionAttemptID taskExecution,
OperatorID operator,
OperatorEvent evt) |
void |
AdaptiveScheduler.reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics) |
SerializedInputSplit |
AdaptiveScheduler.requestNextInputSplit(JobVertexID vertexID,
ExecutionAttemptID executionAttempt) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SpeculativeScheduler.notifySlowTasks(Map<ExecutionVertexID,Collection<ExecutionAttemptID>> slowTasks) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DeploymentStateTimeMetrics.onStateUpdate(ExecutionAttemptID execution,
ExecutionState previousState,
ExecutionState newState) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SlowTaskDetectorListener.notifySlowTasks(Map<ExecutionVertexID,Collection<ExecutionAttemptID>> slowTasks)
Notify detected slow tasks.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
ShuffleIOOwnerContext.getExecutionAttemptID() |
ExecutionAttemptID |
ProducerDescriptor.getProducerExecutionId() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ProducerDescriptor |
ProducerDescriptor.create(TaskManagerLocation producerLocation,
ExecutionAttemptID attemptId) |
ShuffleIOOwnerContext |
ShuffleEnvironment.createShuffleIOOwnerContext(String ownerName,
ExecutionAttemptID executionAttemptID,
org.apache.flink.metrics.MetricGroup parentGroup)
Create a context of the shuffle input/output owner used to create partitions or gates
belonging to the owner.
|
boolean |
ShuffleEnvironment.updatePartitionInfo(ExecutionAttemptID consumerID,
PartitionInfo partitionInfo)
Update a gate with the newly available partition information, previously unknown.
|
| 构造器和说明 |
|---|
ProducerDescriptor(ResourceID producerLocation,
ExecutionAttemptID producerExecutionId,
InetAddress address,
int dataPort) |
ShuffleIOOwnerContext(String ownerName,
ExecutionAttemptID executionAttemptID,
org.apache.flink.metrics.MetricGroup parentGroup,
org.apache.flink.metrics.MetricGroup outputGroup,
org.apache.flink.metrics.MetricGroup inputGroup) |
| 构造器和说明 |
|---|
TaskStateManagerImpl(org.apache.flink.api.common.JobID jobId,
ExecutionAttemptID executionAttemptID,
TaskLocalStateStore localStateStore,
StateChangelogStorage<?> stateChangelogStorage,
TaskExecutorStateChangelogStoragesManager changelogStoragesManager,
JobManagerTaskRestore jobManagerTaskRestore,
CheckpointResponder checkpointResponder) |
TaskStateManagerImpl(org.apache.flink.api.common.JobID jobId,
ExecutionAttemptID executionAttemptID,
TaskLocalStateStore localStateStore,
StateChangelogStorage<?> stateChangelogStorage,
TaskExecutorStateChangelogStoragesManager changelogStoragesManager,
JobManagerTaskRestore jobManagerTaskRestore,
CheckpointResponder checkpointResponder,
SequentialChannelStateReaderImpl sequentialChannelStateReader) |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<ExecutionAttemptID> |
ExecutionDeploymentReport.getExecutions() |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<Acknowledge> |
TaskExecutorGateway.abortCheckpoint(ExecutionAttemptID executionAttemptID,
long checkpointId,
long latestCompletedCheckpointId,
long checkpointTimestamp)
Abort a checkpoint for the given task.
|
CompletableFuture<Acknowledge> |
TaskExecutorGatewayDecoratorBase.abortCheckpoint(ExecutionAttemptID executionAttemptID,
long checkpointId,
long latestCompletedCheckpointId,
long checkpointTimestamp) |
CompletableFuture<Acknowledge> |
TaskExecutor.abortCheckpoint(ExecutionAttemptID executionAttemptID,
long checkpointId,
long latestCompletedCheckpointId,
long checkpointTimestamp) |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.cancelTask(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.time.Time timeout)
Cancel the given task.
|
CompletableFuture<Acknowledge> |
TaskExecutorGatewayDecoratorBase.cancelTask(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
TaskExecutor.cancelTask(ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.confirmCheckpoint(ExecutionAttemptID executionAttemptID,
long completedCheckpointId,
long completedCheckpointTimestamp,
long lastSubsumedCheckpointId)
Confirm a checkpoint for the given task.
|
CompletableFuture<Acknowledge> |
TaskExecutorGatewayDecoratorBase.confirmCheckpoint(ExecutionAttemptID executionAttemptID,
long completedCheckpointId,
long completedCheckpointTimestamp,
long lastSubsumedCheckpointId) |
CompletableFuture<Acknowledge> |
TaskExecutor.confirmCheckpoint(ExecutionAttemptID executionAttemptID,
long completedCheckpointId,
long completedCheckpointTimestamp,
long lastSubsumedCheckpointId) |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.sendOperatorEventToTask(ExecutionAttemptID task,
OperatorID operator,
org.apache.flink.util.SerializedValue<OperatorEvent> evt) |
CompletableFuture<Acknowledge> |
TaskExecutorGatewayDecoratorBase.sendOperatorEventToTask(ExecutionAttemptID task,
OperatorID operator,
org.apache.flink.util.SerializedValue<OperatorEvent> evt) |
CompletableFuture<Acknowledge> |
TaskExecutorOperatorEventGateway.sendOperatorEventToTask(ExecutionAttemptID task,
OperatorID operator,
org.apache.flink.util.SerializedValue<OperatorEvent> evt)
Sends an operator event to an operator in a task executed by the Task Manager (Task
Executor).
|
CompletableFuture<Acknowledge> |
TaskExecutor.sendOperatorEventToTask(ExecutionAttemptID executionAttemptID,
OperatorID operatorId,
org.apache.flink.util.SerializedValue<OperatorEvent> evt) |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.triggerCheckpoint(ExecutionAttemptID executionAttemptID,
long checkpointID,
long checkpointTimestamp,
CheckpointOptions checkpointOptions)
Trigger the checkpoint for the given task.
|
CompletableFuture<Acknowledge> |
TaskExecutorGatewayDecoratorBase.triggerCheckpoint(ExecutionAttemptID executionAttemptID,
long checkpointID,
long checkpointTimestamp,
CheckpointOptions checkpointOptions) |
CompletableFuture<Acknowledge> |
TaskExecutor.triggerCheckpoint(ExecutionAttemptID executionAttemptID,
long checkpointId,
long checkpointTimestamp,
CheckpointOptions checkpointOptions) |
CompletableFuture<Acknowledge> |
TaskExecutorGateway.updatePartitions(ExecutionAttemptID executionAttemptID,
Iterable<PartitionInfo> partitionInfos,
org.apache.flink.api.common.time.Time timeout)
Update the task where the given partitions can be found.
|
CompletableFuture<Acknowledge> |
TaskExecutorGatewayDecoratorBase.updatePartitions(ExecutionAttemptID executionAttemptID,
Iterable<PartitionInfo> partitionInfos,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
TaskExecutor.updatePartitions(ExecutionAttemptID executionAttemptID,
Iterable<PartitionInfo> partitionInfos,
org.apache.flink.api.common.time.Time timeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<TaskThreadInfoResponse> |
TaskExecutorGatewayDecoratorBase.requestThreadInfoSamples(Collection<ExecutionAttemptID> taskExecutionAttemptIds,
ThreadInfoSamplesRequest requestParams,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<TaskThreadInfoResponse> |
TaskExecutorThreadInfoGateway.requestThreadInfoSamples(Collection<ExecutionAttemptID> taskExecutionAttemptIds,
ThreadInfoSamplesRequest requestParams,
org.apache.flink.api.common.time.Time timeout)
Request a thread info sample from the given tasks.
|
CompletableFuture<TaskThreadInfoResponse> |
TaskExecutor.requestThreadInfoSamples(Collection<ExecutionAttemptID> taskExecutionAttemptIds,
ThreadInfoSamplesRequest requestParams,
org.apache.flink.api.common.time.Time timeout) |
| 构造器和说明 |
|---|
ExecutionDeploymentReport(Set<ExecutionAttemptID> executions) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcCheckpointResponder.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot subtaskState) |
void |
RpcCheckpointResponder.declineCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointException checkpointException) |
void |
RpcCheckpointResponder.reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics) |
| 构造器和说明 |
|---|
RpcInputSplitProvider(JobMasterGateway jobMasterGateway,
JobVertexID jobVertexID,
ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.time.Time timeout) |
RpcTaskOperatorEventGateway(JobMasterOperatorEventGateway rpcGateway,
ExecutionAttemptID taskExecutionId,
java.util.function.Consumer<Throwable> errorHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
TaskSlotPayload.getExecutionId() |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
TaskSlotTableImpl.getTask(ExecutionAttemptID executionAttemptID) |
T |
TaskSlotTable.getTask(ExecutionAttemptID executionAttemptID)
Get the task for the given execution attempt id.
|
T |
TaskSlot.remove(ExecutionAttemptID executionAttemptId)
Remove the task identified by the given execution attempt id.
|
T |
TaskSlotTableImpl.removeTask(ExecutionAttemptID executionAttemptID) |
T |
TaskSlotTable.removeTask(ExecutionAttemptID executionAttemptID)
Remove the task with the given execution attempt id from its task slot.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionAttemptID |
Task.getExecutionId() |
ExecutionAttemptID |
RuntimeEnvironment.getExecutionId() |
ExecutionAttemptID |
TaskExecutionState.getID()
Returns the ID of the task this result belongs to
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CheckpointResponder.acknowledgeCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics,
TaskStateSnapshot subtaskState)
Acknowledges the given checkpoint.
|
void |
CheckpointResponder.declineCheckpoint(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointException checkpointException)
Declines the given checkpoint.
|
void |
TaskManagerActions.failTask(ExecutionAttemptID executionAttemptID,
Throwable cause)
Tells the task manager to fail the given task.
|
void |
CheckpointResponder.reportCheckpointMetrics(org.apache.flink.api.common.JobID jobID,
ExecutionAttemptID executionAttemptID,
long checkpointId,
CheckpointMetrics checkpointMetrics)
Report metrics for the given checkpoint.
|
| 构造器和说明 |
|---|
RuntimeEnvironment(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
ExecutionAttemptID executionId,
org.apache.flink.api.common.ExecutionConfig executionConfig,
org.apache.flink.api.common.TaskInfo taskInfo,
org.apache.flink.configuration.Configuration jobConfiguration,
org.apache.flink.configuration.Configuration taskConfiguration,
org.apache.flink.util.UserCodeClassLoader userCodeClassLoader,
MemoryManager memManager,
IOManager ioManager,
BroadcastVariableManager bcVarManager,
TaskStateManager taskStateManager,
GlobalAggregateManager aggregateManager,
AccumulatorRegistry accumulatorRegistry,
TaskKvStateRegistry kvStateRegistry,
InputSplitProvider splitProvider,
Map<String,Future<org.apache.flink.core.fs.Path>> distCacheEntries,
ResultPartitionWriter[] writers,
IndexedInputGate[] inputGates,
TaskEventDispatcher taskEventDispatcher,
CheckpointResponder checkpointResponder,
TaskOperatorEventGateway operatorEventGateway,
TaskManagerRuntimeInfo taskManagerInfo,
TaskMetricGroup metrics,
Task containingTask,
ExternalResourceInfoProvider externalResourceInfoProvider) |
Task(JobInformation jobInformation,
TaskInformation taskInformation,
ExecutionAttemptID executionAttemptID,
AllocationID slotAllocationId,
List<ResultPartitionDeploymentDescriptor> resultPartitionDeploymentDescriptors,
List<InputGateDeploymentDescriptor> inputGateDeploymentDescriptors,
MemoryManager memManager,
IOManager ioManager,
ShuffleEnvironment<?,?> shuffleEnvironment,
KvStateService kvStateService,
BroadcastVariableManager bcVarManager,
TaskEventDispatcher taskEventDispatcher,
ExternalResourceInfoProvider externalResourceInfoProvider,
TaskStateManager taskStateManager,
TaskManagerActions taskManagerActions,
InputSplitProvider inputSplitProvider,
CheckpointResponder checkpointResponder,
TaskOperatorEventGateway operatorCoordinatorEventGateway,
GlobalAggregateManager aggregateManager,
LibraryCacheManager.ClassLoaderHandle classLoaderHandle,
FileCache fileCache,
TaskManagerRuntimeInfo taskManagerConfig,
TaskMetricGroup metricGroup,
PartitionProducerStateChecker partitionProducerStateChecker,
Executor executor)
IMPORTANT: This constructor may not start any work that would need to be undone in the
case of a failing task deployment.
|
TaskExecutionState(ExecutionAttemptID executionId,
ExecutionState executionState)
Creates a new task execution state update, with no attached exception and no accumulators.
|
TaskExecutionState(ExecutionAttemptID executionId,
ExecutionState executionState,
Throwable error)
Creates a new task execution state update, with an attached exception but no accumulators.
|
TaskExecutionState(ExecutionAttemptID executionId,
ExecutionState executionState,
Throwable error,
AccumulatorSnapshot accumulators,
IOMetrics ioMetrics)
Creates a new task execution state update, with an attached exception.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Set<Set<ExecutionAttemptID>> |
TaskStatsRequestCoordinator.PendingStatsRequest.pendingTasks
All tasks what did not yet return a result.
|
protected Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID>,T> |
TaskStatsRequestCoordinator.PendingStatsRequest.statsResultByTaskGroup
Results returned by individual tasks and stored by the tasks'
ExecutionAttemptID. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
TaskStatsRequestCoordinator.PendingStatsRequest.collectTaskStats(org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID> executionId,
T taskStatsResult)
Collects result from one of the tasks.
|
void |
TaskStatsRequestCoordinator.handleSuccessfulResponse(int requestId,
org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID> executionIds,
T result)
Handles the successfully returned tasks stats response by collecting the corresponding
subtask samples.
|
| 构造器和说明 |
|---|
PendingStatsRequest(int requestId,
Collection<? extends Set<ExecutionAttemptID>> tasksToCollect)
Creates new
TaskStatsRequestCoordinator.PendingStatsRequest. |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID>,Collection<ThreadInfoSample>> |
JobVertexThreadInfoStats.getSamplesBySubtask()
Returns the a map of thread info samples by subtask (execution ID).
|
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<JobVertexThreadInfoStats> |
ThreadInfoRequestCoordinator.triggerThreadInfoRequest(Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID>,CompletableFuture<TaskExecutorThreadInfoGateway>> executionsWithGateways,
int numSamples,
java.time.Duration delayBetweenSamples,
int maxStackTraceDepth)
Triggers collection of thread info stats of a job vertex by combining thread info responses
from given subtasks.
|
| 构造器和说明 |
|---|
JobVertexThreadInfoStats(int requestId,
long startTime,
long endTime,
Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID>,Collection<ThreadInfoSample>> samplesBySubtask)
Creates a thread details sample.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.