org.apache.hadoop.mapred
Class TaskAttemptContextImpl

java.lang.Object
  extended by org.apache.hadoop.mapreduce.task.JobContextImpl
      extended by org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl
          extended by org.apache.hadoop.mapred.TaskAttemptContextImpl
All Implemented Interfaces:
JobContext, TaskAttemptContext, org.apache.hadoop.util.Progressable

Deprecated. Use TaskAttemptContextImpl instead.

@Deprecated
public class TaskAttemptContextImpl
extends TaskAttemptContextImpl
implements TaskAttemptContext


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl
TaskAttemptContextImpl.DummyReporter
 
Field Summary
 
Fields inherited from class org.apache.hadoop.mapreduce.task.JobContextImpl
conf, credentials, ugi
 
Fields inherited from interface org.apache.hadoop.mapreduce.JobContext
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
 
Method Summary
 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. Get the Counter for the given groupName and counterName.
 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.
 
Methods inherited from class org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl
getStatus, setStatusString
 
Methods inherited from class org.apache.hadoop.mapreduce.task.JobContextImpl
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapreduce.TaskAttemptContext
getStatus
 
Methods inherited from interface org.apache.hadoop.mapreduce.JobContext
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
 

Method Detail

getTaskAttemptID

public TaskAttemptID getTaskAttemptID()
Deprecated. 
Get the taskAttemptID.

Specified by:
getTaskAttemptID in interface TaskAttemptContext
Overrides:
getTaskAttemptID in class TaskAttemptContextImpl
Returns:
TaskAttemptID

getProgressible

public org.apache.hadoop.util.Progressable getProgressible()
Deprecated. 

getJobConf

public JobConf getJobConf()
Deprecated. 

getCounter

public Counter getCounter(java.lang.Enum<?> counterName)
Deprecated. 
Description copied from interface: TaskAttemptContext
Get the Counter for the given counterName.

Specified by:
getCounter in interface TaskAttemptContext
Overrides:
getCounter in class TaskAttemptContextImpl
Parameters:
counterName - counter name
Returns:
the Counter for the given counterName

getCounter

public Counter getCounter(java.lang.String groupName,
                          java.lang.String counterName)
Deprecated. 
Description copied from interface: TaskAttemptContext
Get the Counter for the given groupName and counterName.

Specified by:
getCounter in interface TaskAttemptContext
Overrides:
getCounter in class TaskAttemptContextImpl
counterName - counter name
Returns:
the Counter for the given groupName and counterName

progress

public void progress()
Deprecated. 
Report progress.

Specified by:
progress in interface org.apache.hadoop.util.Progressable
Overrides:
progress in class TaskAttemptContextImpl

setStatus

public void setStatus(java.lang.String status)
Deprecated. 
Set the current status of the task to the given string.

Specified by:
setStatus in interface TaskAttemptContext
Overrides:
setStatus in class TaskAttemptContextImpl


Copyright © 2009 The Apache Software Foundation