TaskAttemptContextImpl
instead.@Deprecated public class TaskAttemptContextImpl extends TaskAttemptContextImpl implements TaskAttemptContext
TaskAttemptContextImpl.DummyReporterconf, credentials, ugiCACHE_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, setStatusStringgetArchiveClassPaths, 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, userClassesTakesPrecedenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatusgetArchiveClassPaths, 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, userClassesTakesPrecedencepublic TaskAttemptID getTaskAttemptID()
getTaskAttemptID in interface TaskAttemptContextgetTaskAttemptID in class TaskAttemptContextImplpublic org.apache.hadoop.util.Progressable getProgressible()
public JobConf getJobConf()
public Counter getCounter(java.lang.Enum<?> counterName)
TaskAttemptContextCounter for the given counterName.getCounter in interface TaskAttemptContextgetCounter in class TaskAttemptContextImplcounterName - counter nameCounter for the given counterNamepublic Counter getCounter(java.lang.String groupName, java.lang.String counterName)
TaskAttemptContextgetCounter in interface TaskAttemptContextgetCounter in class TaskAttemptContextImplcounterName - counter nameCounter for the given groupName and
counterNamepublic void progress()
progress in interface org.apache.hadoop.util.Progressableprogress in class TaskAttemptContextImplpublic void setStatus(java.lang.String status)
setStatus in interface TaskAttemptContextsetStatus in class TaskAttemptContextImplCopyright © 2009 The Apache Software Foundation