Class ExceptionHistoryEntry

java.lang.Object
org.apache.flink.runtime.executiongraph.ErrorInfo
org.apache.flink.runtime.scheduler.exceptionhistory.ExceptionHistoryEntry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RootExceptionHistoryEntry

public class ExceptionHistoryEntry extends ErrorInfo
ExceptionHistoryEntry collects information about a single failure that triggered the scheduler's failure handling.
See Also:
  • Constructor Details

    • ExceptionHistoryEntry

      protected ExceptionHistoryEntry(Throwable cause, long timestamp, CompletableFuture<Map<String,String>> failureLabels, @Nullable String failingTaskName, @Nullable TaskManagerLocation taskManagerLocation)
      Instantiates a ExceptionHistoryEntry.
      Parameters:
      cause - The reason for the failure.
      timestamp - The time the failure was caught.
      failureLabels - The labels associated with the failure.
      failingTaskName - The name of the task that failed.
      taskManagerLocation - The host the task was running on.
      Throws:
      NullPointerException - if cause is null.
      IllegalArgumentException - if the passed timestamp is not bigger than 0.
  • Method Details