org.apache.hadoop.mapred
Enum JobHistory.Keys
java.lang.Object
java.lang.Enum<JobHistory.Keys>
org.apache.hadoop.mapred.JobHistory.Keys
- All Implemented Interfaces:
- Serializable, Comparable<JobHistory.Keys>
- Enclosing class:
- JobHistory
public static enum JobHistory.Keys
- extends Enum<JobHistory.Keys>
Job history files contain key="value" pairs, where keys belong to this enum.
It acts as a global namespace for all keys.
Method Summary |
static JobHistory.Keys |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JobHistory.Keys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
JOBTRACKERID
public static final JobHistory.Keys JOBTRACKERID
START_TIME
public static final JobHistory.Keys START_TIME
FINISH_TIME
public static final JobHistory.Keys FINISH_TIME
JOBID
public static final JobHistory.Keys JOBID
JOBNAME
public static final JobHistory.Keys JOBNAME
USER
public static final JobHistory.Keys USER
JOBCONF
public static final JobHistory.Keys JOBCONF
SUBMIT_TIME
public static final JobHistory.Keys SUBMIT_TIME
LAUNCH_TIME
public static final JobHistory.Keys LAUNCH_TIME
TOTAL_MAPS
public static final JobHistory.Keys TOTAL_MAPS
TOTAL_REDUCES
public static final JobHistory.Keys TOTAL_REDUCES
FAILED_MAPS
public static final JobHistory.Keys FAILED_MAPS
FAILED_REDUCES
public static final JobHistory.Keys FAILED_REDUCES
FINISHED_MAPS
public static final JobHistory.Keys FINISHED_MAPS
FINISHED_REDUCES
public static final JobHistory.Keys FINISHED_REDUCES
JOB_STATUS
public static final JobHistory.Keys JOB_STATUS
TASKID
public static final JobHistory.Keys TASKID
HOSTNAME
public static final JobHistory.Keys HOSTNAME
TASK_TYPE
public static final JobHistory.Keys TASK_TYPE
ERROR
public static final JobHistory.Keys ERROR
TASK_ATTEMPT_ID
public static final JobHistory.Keys TASK_ATTEMPT_ID
TASK_STATUS
public static final JobHistory.Keys TASK_STATUS
COPY_PHASE
public static final JobHistory.Keys COPY_PHASE
SORT_PHASE
public static final JobHistory.Keys SORT_PHASE
REDUCE_PHASE
public static final JobHistory.Keys REDUCE_PHASE
SHUFFLE_FINISHED
public static final JobHistory.Keys SHUFFLE_FINISHED
SORT_FINISHED
public static final JobHistory.Keys SORT_FINISHED
COUNTERS
public static final JobHistory.Keys COUNTERS
SPLITS
public static final JobHistory.Keys SPLITS
JOB_PRIORITY
public static final JobHistory.Keys JOB_PRIORITY
HTTP_PORT
public static final JobHistory.Keys HTTP_PORT
TRACKER_NAME
public static final JobHistory.Keys TRACKER_NAME
STATE_STRING
public static final JobHistory.Keys STATE_STRING
VERSION
public static final JobHistory.Keys VERSION
MAP_COUNTERS
public static final JobHistory.Keys MAP_COUNTERS
REDUCE_COUNTERS
public static final JobHistory.Keys REDUCE_COUNTERS
VIEW_JOB
public static final JobHistory.Keys VIEW_JOB
MODIFY_JOB
public static final JobHistory.Keys MODIFY_JOB
JOB_QUEUE
public static final JobHistory.Keys JOB_QUEUE
FAIL_REASON
public static final JobHistory.Keys FAIL_REASON
values
public static JobHistory.Keys[] 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 (JobHistory.Keys c : JobHistory.Keys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JobHistory.Keys 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 © 2009 The Apache Software Foundation