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're 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
values
public static final JobHistory.Keys[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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
Copyright © 2008 The Apache Software Foundation