Logo Search packages:      
Sourcecode: hadoop version File versions  Download package

org::apache::hadoop::mapred::Reporter Interface Reference

Inheritance diagram for org::apache::hadoop::mapred::Reporter:


List of all members.

Detailed Description

A facility for Map-Reduce applications to report progress and update counters, status information etc.

Mapper and Reducer can use the Reporter provided to report progress or just indicate that they are alive. In scenarios where the application takes an insignificant amount of time to process individual key/value pairs, this is crucial since the framework might assume that the task has timed-out and kill that task.

Applications can also update Counters via the provided Reporter .

See also:


Definition at line 40 of file Reporter.java.

Public Member Functions

abstract Counter getCounter (String group, String name)
abstract Counter getCounter (Enum<?> name)
abstract InputSplit getInputSplit () throws UnsupportedOperationException
abstract void incrCounter (String group, String counter, long amount)
abstract void incrCounter (Enum<?> key, long amount)
void progress ()
abstract void setStatus (String status)

Static Public Attributes

static final Reporter NULL

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index