Uses of Interface
p2pMapReduce.mapreduceModule.TaskAttemptContext

Packages that use TaskAttemptContext
p2pMapReduce.mapreduceModule Collection of class to implement a map reduce framework. 
p2pMapReduce.mapreduceModule.input   
p2pMapReduce.mapreduceModule.output   
 

Uses of TaskAttemptContext in p2pMapReduce.mapreduceModule
 

Subinterfaces of TaskAttemptContext in p2pMapReduce.mapreduceModule
 interface MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
          The context that is given to the Mapper.
 interface ReduceContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
          The context passed to the Reducer.
 interface TaskInputOutputContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
          A context object that allows input and output from the task.
 

Classes in p2pMapReduce.mapreduceModule that implement TaskAttemptContext
 class MapContextImpl<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
          The context that is given to the Mapper.
 class Mapper.Context
          The Context passed on to the Mapper implementations.
 class ReduceContextImpl<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
          NOTE: the format of intermediate result depends on MapContext#write(K,V) method that refer to RecordWriter
 class Reducer.Context
          The Context passed on to the Reducer implementations.
 class TaskAttemptContextImpl
          The context for task attempts.
 class TaskInputOutputContextImpl<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
          A context object that allows input and output from the task.
 class WrappedMapper.Context
           
 class WrappedReducer.Context
           
 

Methods in p2pMapReduce.mapreduceModule with parameters of type TaskAttemptContext
abstract  void OutputCommitter.abortTask(TaskAttemptContext taskContext)
          Discard the task output
abstract  void OutputCommitter.commitTask(TaskAttemptContext taskContext)
          To promote the task's temporary output to final output location The task's output is moved to the job's output directory.
abstract  boolean OutputCommitter.needsTaskCommit(TaskAttemptContext taskContext)
          Check whether task needs a commit
abstract  void OutputCommitter.setupTask(TaskAttemptContext taskContext)
          Sets up output for the task.
 

Uses of TaskAttemptContext in p2pMapReduce.mapreduceModule.input
 

Methods in p2pMapReduce.mapreduceModule.input with parameters of type TaskAttemptContext
abstract  RecordReader<K,V> InputFormat.createRecordReader(InputSplit split, TaskAttemptContext context)
          Create a record reader for a given split.
 RecordReader<java.lang.Long,java.lang.String> TextFileInputFormat.createRecordReader(InputSplit split, TaskAttemptContext context)
           
 void LineRecordReader.initialize(InputSplit split, TaskAttemptContext context)
           
abstract  void RecordReader.initialize(InputSplit split, TaskAttemptContext context)
          Called once at initialization.
 

Uses of TaskAttemptContext in p2pMapReduce.mapreduceModule.output
 

Methods in p2pMapReduce.mapreduceModule.output with parameters of type TaskAttemptContext
 void LineRecordWriter.close(TaskAttemptContext context)
           
 void MapRecordWriter.close(TaskAttemptContext context)
           
abstract  void RecordWriter.close(TaskAttemptContext context)
          Close this RecordWriter to future operations.
abstract  OutputCommitter OutputFormat.getOutputCommitter(TaskAttemptContext context)
          Get the output committer for this output format.
 OutputCommitter TextFileOutputFormat.getOutputCommitter(TaskAttemptContext context)
           
abstract  RecordWriter<K,V> OutputFormat.getRecordWriter(TaskAttemptContext context)
          Get the RecordWriter for the given task.
 RecordWriter<K,V> TextFileOutputFormat.getRecordWriter(TaskAttemptContext context)
           
 

Constructors in p2pMapReduce.mapreduceModule.output with parameters of type TaskAttemptContext
LineRecordWriter(TaskAttemptContext context, java.lang.String outDir)