TaskEventType

public enum TaskEventType

Defines the type of an event (a line) in the trace file that represents the state of the job. Each enum instance is a possible value for the FieldIndex.EVENT_TYPE field.

Author:Manoel Campos da Silva Filho

Enum Constants

EVICT

public static final TaskEventType EVICT

2: A task or job was descheduled because of a higher priority task or job, because the scheduler overcommitted and the actual demand exceeded the machine capacity, because the machine on which it was running became unusable (e.g. taken offline for repairs), or because a disk holding the task’s data was lost.

FAIL

public static final TaskEventType FAIL

3: A task or job was descheduled (or, in rare cases, ceased to be eligible for scheduling while it was pending) due to a task failure.

FINISH

public static final TaskEventType FINISH

4: A task or job completed normally.

KILL

public static final TaskEventType KILL

5: A task or job was cancelled by the user or a driver program or because another job or task on which this job was dependent died.

LOST

public static final TaskEventType LOST

6: A task or job was presumably terminated, but a record indicating its termination was missing from our source data.

SCHEDULE

public static final TaskEventType SCHEDULE

1: A job or task was scheduled on a machine (it may not start running immediately due to code-shipping time, etc). For jobs, this occurs the first time any task of the job is scheduled on a machine.

SUBMIT

public static final TaskEventType SUBMIT

0: A task or job became eligible for scheduling.

UPDATE_PENDING

public static final TaskEventType UPDATE_PENDING

7: A task or job’s scheduling class, resource requirements, or constraints were updated while it was waiting to be scheduled.

UPDATE_RUNNING

public static final TaskEventType UPDATE_RUNNING

8: A task or job’s scheduling class, resource requirements, or constraints were updated while it was scheduled.