Example usage for Java org.apache.hadoop.mapreduce TaskInputOutputContext fields, constructors, methods, implement or subclass
The text is from its open source code.
Configuration | getConfiguration() Return the configuration for the job. |
Counter | getCounter(Enum> counterName) Get the Counter for the given counterName . |
Counter | getCounter(String groupName, String counterName) Get the Counter for the given groupName and counterName . |
Credentials | getCredentials() Get credentials for the job. |
JobID | getJobID() Get the unique ID for the job. |
String | getJobName() Get the user-specified job name. |
Path[] | getLocalCacheFiles() Return the path array of the localized files |
OutputCommitter | getOutputCommitter() Get the OutputCommitter for the task-attempt. |
Class> | getOutputKeyClass() Get the key class for the job output data. |
Class> | getOutputValueClass() Get the value class for job outputs. |
String | getStatus() Get the last set status message. |
TaskAttemptID | getTaskAttemptID() Get the unique name for this task attempt. |
Path | getWorkingDirectory() Get the current working directory for the default file system. |
void | progress() Report progress to the Hadoop framework. |
void | setStatus(String msg) Set the current status of the task to the given string. |
void | write(KEYOUT key, VALUEOUT value) Generate an output key/value pair. |