public class MemoryMapper.MemoryMapContext
extends org.apache.hadoop.mapreduce.Mapper.Context
CACHE_ARCHIVES_VISIBILITIES, CACHE_FILE_VISIBILITIES, COMBINE_CLASS_ATTR, conf, credentials, INPUT_FORMAT_CLASS_ATTR, JOB_ACL_MODIFY_JOB, JOB_ACL_VIEW_JOB, JOB_CANCEL_DELEGATION_TOKEN, JOB_NAMENODES, MAP_CLASS_ATTR, OUTPUT_FORMAT_CLASS_ATTR, PARTITIONER_CLASS_ATTR, REDUCE_CLASS_ATTR, ugi, USER_LOG_RETAIN_HOURS| Constructor and Description |
|---|
MemoryMapContext(org.apache.hadoop.mapreduce.Mapper.Context context) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.mapreduce.Counter |
getCounter(Enum counterName) |
org.apache.hadoop.mapreduce.Counter |
getCounter(String groupName,
String counterName) |
org.apache.hadoop.io.Writable |
getCurrentKey() |
org.apache.hadoop.io.Writable |
getCurrentValue() |
boolean |
nextKeyValue() |
void |
setContext(org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
stageConfiguration(int step) |
void |
write(Object key,
Object value) |
getOutputCommitter, getProgress, progress, setStatusgetStatus, getTaskAttemptIDgetCombinerClass, getCredentials, getGroupingComparator, getInputFormatClass, getJar, getJobID, getJobName, getMapOutputKeyClass, getMapOutputValueClass, getMapperClass, getNumReduceTasks, getOutputFormatClass, getOutputKeyClass, getOutputValueClass, getPartitionerClass, getReducerClass, getSortComparator, getWorkingDirectorypublic MemoryMapContext(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void write(Object key, Object value) throws IOException, InterruptedException
write in class org.apache.hadoop.mapreduce.TaskInputOutputContextIOExceptionInterruptedExceptionpublic org.apache.hadoop.io.Writable getCurrentKey()
getCurrentKey in class org.apache.hadoop.mapreduce.MapContextpublic org.apache.hadoop.io.Writable getCurrentValue()
getCurrentValue in class org.apache.hadoop.mapreduce.MapContextpublic boolean nextKeyValue()
nextKeyValue in class org.apache.hadoop.mapreduce.MapContextpublic org.apache.hadoop.mapreduce.Counter getCounter(String groupName, String counterName)
getCounter in class org.apache.hadoop.mapreduce.TaskInputOutputContextpublic org.apache.hadoop.mapreduce.Counter getCounter(Enum counterName)
getCounter in class org.apache.hadoop.mapreduce.TaskInputOutputContextpublic org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration in class org.apache.hadoop.mapreduce.JobContextpublic void setContext(org.apache.hadoop.mapreduce.Mapper.Context context)
public void stageConfiguration(int step)
Copyright © 2012–2016. All rights reserved.