TaskAttemptContextImpl
instead.@Deprecated public class TaskAttemptContextImpl extends TaskAttemptContextImpl implements TaskAttemptContext
TaskAttemptContextImpl.DummyReporter
conf, credentials, ugi
CACHE_ARCHIVES_VISIBILITIES, CACHE_FILE_VISIBILITIES, COMBINE_CLASS_ATTR, INPUT_FORMAT_CLASS_ATTR, JAR_UNPACK_PATTERN, JOB_ACL_MODIFY_JOB, JOB_ACL_VIEW_JOB, JOB_CANCEL_DELEGATION_TOKEN, JOB_NAMENODES, MAP_CLASS_ATTR, MAP_MEMORY_PHYSICAL_MB, MAP_OUTPUT_COLLECTOR_CLASS_ATTR, MAPREDUCE_TASK_CLASSPATH_PRECEDENCE, OUTPUT_FORMAT_CLASS_ATTR, PARTITIONER_CLASS_ATTR, REDUCE_CLASS_ATTR, REDUCE_MEMORY_PHYSICAL_MB, SHUFFLE_CONSUMER_PLUGIN_ATTR, USER_LOG_RETAIN_HOURS
Modifier and Type | Method and Description |
---|---|
Counter |
getCounter(java.lang.Enum<?> counterName)
Deprecated.
Get the
Counter for the given counterName . |
Counter |
getCounter(java.lang.String groupName,
java.lang.String counterName)
Deprecated.
|
JobConf |
getJobConf()
Deprecated.
|
org.apache.hadoop.util.Progressable |
getProgressible()
Deprecated.
|
TaskAttemptID |
getTaskAttemptID()
Deprecated.
Get the taskAttemptID.
|
void |
progress()
Deprecated.
Report progress.
|
void |
setStatus(java.lang.String status)
Deprecated.
Set the current status of the task to the given string.
|
getStatus, setStatusString
getArchiveClassPaths, getArchiveTimestamps, getCacheArchives, getCacheFiles, getCombinerClass, getCombinerKeyGroupingComparator, getConfiguration, getCredentials, getFileClassPaths, getFileTimestamps, getGroupingComparator, getInputFormatClass, getJar, getJobID, getJobName, getJobSetupCleanupNeeded, getLocalCacheArchives, getLocalCacheFiles, getMapOutputKeyClass, getMapOutputValueClass, getMapperClass, getMaxMapAttempts, getMaxReduceAttempts, getNumReduceTasks, getOutputFormatClass, getOutputKeyClass, getOutputValueClass, getPartitionerClass, getProfileEnabled, getProfileParams, getProfileTaskRange, getReducerClass, getSortComparator, getSymlink, getUser, getWorkingDirectory, setJobID, userClassesTakesPrecedence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus
getArchiveClassPaths, getArchiveTimestamps, getCacheArchives, getCacheFiles, getCombinerClass, getCombinerKeyGroupingComparator, getConfiguration, getCredentials, getFileClassPaths, getFileTimestamps, getGroupingComparator, getInputFormatClass, getJar, getJobID, getJobName, getJobSetupCleanupNeeded, getLocalCacheArchives, getLocalCacheFiles, getMapOutputKeyClass, getMapOutputValueClass, getMapperClass, getMaxMapAttempts, getMaxReduceAttempts, getNumReduceTasks, getOutputFormatClass, getOutputKeyClass, getOutputValueClass, getPartitionerClass, getProfileEnabled, getProfileParams, getReducerClass, getSortComparator, getSymlink, getUser, getWorkingDirectory, userClassesTakesPrecedence
public TaskAttemptID getTaskAttemptID()
getTaskAttemptID
in interface TaskAttemptContext
getTaskAttemptID
in class TaskAttemptContextImpl
public org.apache.hadoop.util.Progressable getProgressible()
public JobConf getJobConf()
public Counter getCounter(java.lang.Enum<?> counterName)
TaskAttemptContext
Counter
for the given counterName
.getCounter
in interface TaskAttemptContext
getCounter
in class TaskAttemptContextImpl
counterName
- counter nameCounter
for the given counterName
public Counter getCounter(java.lang.String groupName, java.lang.String counterName)
TaskAttemptContext
getCounter
in interface TaskAttemptContext
getCounter
in class TaskAttemptContextImpl
counterName
- counter nameCounter
for the given groupName
and
counterName
public void progress()
progress
in interface org.apache.hadoop.util.Progressable
progress
in class TaskAttemptContextImpl
public void setStatus(java.lang.String status)
setStatus
in interface TaskAttemptContext
setStatus
in class TaskAttemptContextImpl
Copyright © 2009 The Apache Software Foundation