Class TaskState.EndingState

java.lang.Object
org.apache.drill.yarn.appMaster.TaskState
org.apache.drill.yarn.appMaster.TaskState.EndingState
Enclosing class:
TaskState

public static class TaskState.EndingState extends TaskState
Task for which a termination request has been sent to the Drill-bit, but confirmation has not yet been received from the Node Manager. (Not yet supported in the Drill-bit.
  • Constructor Details

    • EndingState

      protected EndingState()
  • Method Details

    • containerCompleted

      public void containerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status)
      Normal ENDING --> WAIT_END_ACK | END transition.
      Overrides:
      containerCompleted in class TaskState
      Parameters:
      status -
    • cancel

      public void cancel(EventContext context)
      Description copied from class: TaskState
      Cluster manager wishes to cancel this task.
      Overrides:
      cancel in class TaskState
    • tick

      public void tick(EventContext context, long curTime)
      If the graceful stop process exceeds the maximum timeout, go ahead and forcibly kill the process.
      Overrides:
      tick in class TaskState
    • completionAck

      public void completionAck(EventContext context)
      Description copied from class: TaskState
      The monitoring plugin has detected that the task has confirmed that it has started shutdown.
      Overrides:
      completionAck in class TaskState