|Enum Constant and Description
Job has been cancelled.
Job is being cancelled.
Job is newly created, no task has started to run.
The job has failed with a non-recoverable task failure.
The job has failed and is currently waiting for the cleanup to complete.
All of the job's tasks have successfully finished.
The job has been received by the Dispatcher, and is waiting for the job manager to receive leadership and to be created.
The job is currently reconciling and waits for task execution report to recover state.
The job is currently undergoing a reset and total restart.
Some tasks are scheduled or running, some may be pending, some may be finished.
The job has been suspended which means that it has been stopped but not been removed from a potential HA job store.
|Modifier and Type
|Method and Description
Checks whether this state is globally terminal.
Checks whether this state is locally terminal.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final JobStatus INITIALIZING
public static final JobStatus CREATED
public static final JobStatus RUNNING
public static final JobStatus FAILING
public static final JobStatus FAILED
public static final JobStatus CANCELLING
public static final JobStatus CANCELED
public static final JobStatus FINISHED
public static final JobStatus RESTARTING
public static final JobStatus SUSPENDED
public static final JobStatus RECONCILING
public static JobStatus values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public boolean isGloballyTerminalState()
When a globally terminal state has been reached, all recovery data for the job is dropped from the high-availability services.
public boolean isTerminalState()
The only state that is locally terminal, but not globally terminal is
which is typically entered when the executing JobManager loses its leader status.
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.