org.apache.hadoop.mapreduce.jobhistory
Enum EventType
java.lang.Object
java.lang.Enum<EventType>
org.apache.hadoop.mapreduce.jobhistory.EventType
- All Implemented Interfaces:
- Serializable, Comparable<EventType>
public enum EventType
- extends Enum<EventType>
Field Summary |
static org.apache.avro.Schema |
SCHEMA$
|
Method Summary |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
JOB_SUBMITTED
public static final EventType JOB_SUBMITTED
JOB_INITED
public static final EventType JOB_INITED
JOB_FINISHED
public static final EventType JOB_FINISHED
JOB_PRIORITY_CHANGED
public static final EventType JOB_PRIORITY_CHANGED
JOB_STATUS_CHANGED
public static final EventType JOB_STATUS_CHANGED
JOB_FAILED
public static final EventType JOB_FAILED
JOB_KILLED
public static final EventType JOB_KILLED
JOB_INFO_CHANGED
public static final EventType JOB_INFO_CHANGED
TASK_STARTED
public static final EventType TASK_STARTED
TASK_FINISHED
public static final EventType TASK_FINISHED
TASK_FAILED
public static final EventType TASK_FAILED
TASK_UPDATED
public static final EventType TASK_UPDATED
NORMALIZED_RESOURCE
public static final EventType NORMALIZED_RESOURCE
MAP_ATTEMPT_STARTED
public static final EventType MAP_ATTEMPT_STARTED
MAP_ATTEMPT_FINISHED
public static final EventType MAP_ATTEMPT_FINISHED
MAP_ATTEMPT_FAILED
public static final EventType MAP_ATTEMPT_FAILED
MAP_ATTEMPT_KILLED
public static final EventType MAP_ATTEMPT_KILLED
REDUCE_ATTEMPT_STARTED
public static final EventType REDUCE_ATTEMPT_STARTED
REDUCE_ATTEMPT_FINISHED
public static final EventType REDUCE_ATTEMPT_FINISHED
REDUCE_ATTEMPT_FAILED
public static final EventType REDUCE_ATTEMPT_FAILED
REDUCE_ATTEMPT_KILLED
public static final EventType REDUCE_ATTEMPT_KILLED
SETUP_ATTEMPT_STARTED
public static final EventType SETUP_ATTEMPT_STARTED
SETUP_ATTEMPT_FINISHED
public static final EventType SETUP_ATTEMPT_FINISHED
SETUP_ATTEMPT_FAILED
public static final EventType SETUP_ATTEMPT_FAILED
SETUP_ATTEMPT_KILLED
public static final EventType SETUP_ATTEMPT_KILLED
CLEANUP_ATTEMPT_STARTED
public static final EventType CLEANUP_ATTEMPT_STARTED
CLEANUP_ATTEMPT_FINISHED
public static final EventType CLEANUP_ATTEMPT_FINISHED
CLEANUP_ATTEMPT_FAILED
public static final EventType CLEANUP_ATTEMPT_FAILED
CLEANUP_ATTEMPT_KILLED
public static final EventType CLEANUP_ATTEMPT_KILLED
AM_STARTED
public static final EventType AM_STARTED
SCHEMA$
public static final org.apache.avro.Schema SCHEMA$
values
public static EventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EventType c : EventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EventType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013 Apache Software Foundation. All Rights Reserved.