org.apache.hadoop.mapreduce
Enum JobCounter

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

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


Enum Constant Summary
DATA_LOCAL_MAPS
           
FALLOW_SLOTS_MILLIS_MAPS
          Deprecated. 
FALLOW_SLOTS_MILLIS_REDUCES
          Deprecated. 
MB_MILLIS_MAPS
           
MB_MILLIS_REDUCES
           
MILLIS_MAPS
           
MILLIS_REDUCES
           
NUM_FAILED_MAPS
           
NUM_FAILED_REDUCES
           
NUM_FAILED_UBERTASKS
           
NUM_KILLED_MAPS
           
NUM_KILLED_REDUCES
           
NUM_UBER_SUBMAPS
           
NUM_UBER_SUBREDUCES
           
OTHER_LOCAL_MAPS
           
RACK_LOCAL_MAPS
           
SLOTS_MILLIS_MAPS
          Deprecated. 
SLOTS_MILLIS_REDUCES
          Deprecated. 
TOTAL_LAUNCHED_MAPS
           
TOTAL_LAUNCHED_REDUCES
           
TOTAL_LAUNCHED_UBERTASKS
           
VCORES_MILLIS_MAPS
           
VCORES_MILLIS_REDUCES
           
 
Method Summary
static JobCounter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JobCounter[] 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

NUM_FAILED_MAPS

public static final JobCounter NUM_FAILED_MAPS

NUM_FAILED_REDUCES

public static final JobCounter NUM_FAILED_REDUCES

NUM_KILLED_MAPS

public static final JobCounter NUM_KILLED_MAPS

NUM_KILLED_REDUCES

public static final JobCounter NUM_KILLED_REDUCES

TOTAL_LAUNCHED_MAPS

public static final JobCounter TOTAL_LAUNCHED_MAPS

TOTAL_LAUNCHED_REDUCES

public static final JobCounter TOTAL_LAUNCHED_REDUCES

OTHER_LOCAL_MAPS

public static final JobCounter OTHER_LOCAL_MAPS

DATA_LOCAL_MAPS

public static final JobCounter DATA_LOCAL_MAPS

RACK_LOCAL_MAPS

public static final JobCounter RACK_LOCAL_MAPS

SLOTS_MILLIS_MAPS

@Deprecated
public static final JobCounter SLOTS_MILLIS_MAPS
Deprecated. 

SLOTS_MILLIS_REDUCES

@Deprecated
public static final JobCounter SLOTS_MILLIS_REDUCES
Deprecated. 

FALLOW_SLOTS_MILLIS_MAPS

@Deprecated
public static final JobCounter FALLOW_SLOTS_MILLIS_MAPS
Deprecated. 

FALLOW_SLOTS_MILLIS_REDUCES

@Deprecated
public static final JobCounter FALLOW_SLOTS_MILLIS_REDUCES
Deprecated. 

TOTAL_LAUNCHED_UBERTASKS

public static final JobCounter TOTAL_LAUNCHED_UBERTASKS

NUM_UBER_SUBMAPS

public static final JobCounter NUM_UBER_SUBMAPS

NUM_UBER_SUBREDUCES

public static final JobCounter NUM_UBER_SUBREDUCES

NUM_FAILED_UBERTASKS

public static final JobCounter NUM_FAILED_UBERTASKS

MILLIS_MAPS

public static final JobCounter MILLIS_MAPS

MILLIS_REDUCES

public static final JobCounter MILLIS_REDUCES

VCORES_MILLIS_MAPS

public static final JobCounter VCORES_MILLIS_MAPS

VCORES_MILLIS_REDUCES

public static final JobCounter VCORES_MILLIS_REDUCES

MB_MILLIS_MAPS

public static final JobCounter MB_MILLIS_MAPS

MB_MILLIS_REDUCES

public static final JobCounter MB_MILLIS_REDUCES
Method Detail

values

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

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

valueOf

public static JobCounter 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.