List of usage examples for org.apache.hadoop.mapreduce TaskAttemptContext interface-usage
From source file FakeTaskAttemptContext.java
public class FakeTaskAttemptContext implements TaskAttemptContext { private final Configuration conf; public FakeTaskAttemptContext(Configuration c) { conf = c; }
From source file com.sourcecode.TaskAttemptContextImpl.java
/** * The context for task attempts. */ @InterfaceAudience.Private @InterfaceStability.Unstable public class TaskAttemptContextImpl extends JobContextImpl implements TaskAttemptContext {
From source file com.sourcecode.TaskInputOutputContext.java
/**
* A context object that allows input and output from the task. It is only
* supplied to the {@link Mapper} or {@link Reducer}.
* @param <KEYIN> the input key type for the task
* @param <VALUEIN> the input value type for the task
* @param <KEYOUT> the output key type for the task
From source file oracle.kv.hadoop.hive.table.TableTaskAttemptContext.java
/**
* Concrete implementation of Hadoop TaskAttemptContext interface. When
* initializing a YARN based (MapReduce version 2) RecordReader, an
* instance of TaskAttemptContext must be specified. This class is intended
* to satisfy that requirement.
*
From source file org.slc.sli.aggregation.mapreduce.io.MockTaskAttemptContext.java
/** * MockTaskAttemptContext - mock for a mongo hadoop task context instance. */ public class MockTaskAttemptContext implements TaskAttemptContext { protected Configuration conf = new Configuration();