public class DeclineCheckpoint extends AbstractCheckpointMessage implements Serializable
TaskExecutor
to the
JobMaster
to tell the checkpoint coordinator that a
checkpoint request could not be heeded. This can happen if a Task is already in RUNNING state but
is internally not yet ready to perform checkpoints.Constructor and Description |
---|
DeclineCheckpoint(JobID job,
ExecutionAttemptID taskExecutionId,
long checkpointId,
CheckpointException checkpointException) |
Modifier and Type | Method and Description |
---|---|
SerializedCheckpointException |
getSerializedCheckpointException()
Gets the reason why the checkpoint was declined.
|
String |
toString() |
equals, getCheckpointId, getJob, getTaskExecutionId, hashCode
public DeclineCheckpoint(JobID job, ExecutionAttemptID taskExecutionId, long checkpointId, CheckpointException checkpointException)
@Nonnull public SerializedCheckpointException getSerializedCheckpointException()
public String toString()
toString
in class AbstractCheckpointMessage
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.