org.apache.hadoop.mapreduce
Enum TaskCounter

java.lang.Object
  extended by java.lang.Enum<TaskCounter>
      extended by org.apache.hadoop.mapreduce.TaskCounter
All Implemented Interfaces:
Serializable, Comparable<TaskCounter>

@InterfaceAudience.Public
@InterfaceStability.Evolving
public enum TaskCounter
extends Enum<TaskCounter>


Enum Constant Summary
COMBINE_INPUT_RECORDS
           
COMBINE_OUTPUT_RECORDS
           
COMMITTED_HEAP_BYTES
           
CPU_MILLISECONDS
           
FAILED_SHUFFLE
           
GC_TIME_MILLIS
           
MAP_INPUT_RECORDS
           
MAP_OUTPUT_BYTES
           
MAP_OUTPUT_MATERIALIZED_BYTES
           
MAP_OUTPUT_RECORDS
           
MAP_SKIPPED_RECORDS
           
MERGED_MAP_OUTPUTS
           
PHYSICAL_MEMORY_BYTES
           
REDUCE_INPUT_GROUPS
           
REDUCE_INPUT_RECORDS
           
REDUCE_OUTPUT_RECORDS
           
REDUCE_SHUFFLE_BYTES
           
REDUCE_SKIPPED_GROUPS
           
REDUCE_SKIPPED_RECORDS
           
SHUFFLED_MAPS
           
SPILLED_RECORDS
           
SPLIT_RAW_BYTES
           
VIRTUAL_MEMORY_BYTES
           
 
Method Summary
static TaskCounter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TaskCounter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MAP_INPUT_RECORDS

public static final TaskCounter MAP_INPUT_RECORDS

MAP_OUTPUT_RECORDS

public static final TaskCounter MAP_OUTPUT_RECORDS

MAP_SKIPPED_RECORDS

public static final TaskCounter MAP_SKIPPED_RECORDS

MAP_OUTPUT_BYTES

public static final TaskCounter MAP_OUTPUT_BYTES

MAP_OUTPUT_MATERIALIZED_BYTES

public static final TaskCounter MAP_OUTPUT_MATERIALIZED_BYTES

SPLIT_RAW_BYTES

public static final TaskCounter SPLIT_RAW_BYTES

COMBINE_INPUT_RECORDS

public static final TaskCounter COMBINE_INPUT_RECORDS

COMBINE_OUTPUT_RECORDS

public static final TaskCounter COMBINE_OUTPUT_RECORDS

REDUCE_INPUT_GROUPS

public static final TaskCounter REDUCE_INPUT_GROUPS

REDUCE_SHUFFLE_BYTES

public static final TaskCounter REDUCE_SHUFFLE_BYTES

REDUCE_INPUT_RECORDS

public static final TaskCounter REDUCE_INPUT_RECORDS

REDUCE_OUTPUT_RECORDS

public static final TaskCounter REDUCE_OUTPUT_RECORDS

REDUCE_SKIPPED_GROUPS

public static final TaskCounter REDUCE_SKIPPED_GROUPS

REDUCE_SKIPPED_RECORDS

public static final TaskCounter REDUCE_SKIPPED_RECORDS

SPILLED_RECORDS

public static final TaskCounter SPILLED_RECORDS

SHUFFLED_MAPS

public static final TaskCounter SHUFFLED_MAPS

FAILED_SHUFFLE

public static final TaskCounter FAILED_SHUFFLE

MERGED_MAP_OUTPUTS

public static final TaskCounter MERGED_MAP_OUTPUTS

GC_TIME_MILLIS

public static final TaskCounter GC_TIME_MILLIS

CPU_MILLISECONDS

public static final TaskCounter CPU_MILLISECONDS

PHYSICAL_MEMORY_BYTES

public static final TaskCounter PHYSICAL_MEMORY_BYTES

VIRTUAL_MEMORY_BYTES

public static final TaskCounter VIRTUAL_MEMORY_BYTES

COMMITTED_HEAP_BYTES

public static final TaskCounter COMMITTED_HEAP_BYTES
Method Detail

values

public static TaskCounter[] 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 (TaskCounter c : TaskCounter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TaskCounter 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 © 2014 Apache Software Foundation. All Rights Reserved.