java.lang.Object org.apache.hadoop.mapreduce.JobContext
public class JobContext
A read-only view of the job that is provided to the tasks while they are running.
Method Summary Class<? extends Reducer<?,?,?,?>>
getCombinerClass()
Configuration
getConfiguration()
Credentials
getCredentials()
RawComparator<?>
getGroupingComparator()
RawComparator
comparator for grouping keys of inputs to the reduce. Class<? extends InputFormat<?,?>>
getInputFormatClass()
InputFormat
class for the job. String
getJar()
JobID
getJobID()
String
getJobName()
Class<?>
getMapOutputKeyClass()
Class<?>
getMapOutputValueClass()
Class<? extends Mapper<?,?,?,?>>
getMapperClass()
Mapper
class for the job. int
getNumReduceTasks()
Class<? extends OutputFormat<?,?>>
getOutputFormatClass()
OutputFormat
class for the job. Class<?>
getOutputKeyClass()
Class<?>
getOutputValueClass()
Class<? extends Partitioner<?,?>>
getPartitionerClass()
Partitioner
class for the job. Class<? extends Reducer<?,?,?,?>>
getReducerClass()
Reducer
class for the job. RawComparator<?>
getSortComparator()
RawComparator
comparator used to compare keys. Path
getWorkingDirectory()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
INPUT_FORMAT_CLASS_ATTR
protected static final String INPUT_FORMAT_CLASS_ATTR
protected static final String MAP_CLASS_ATTR
protected static final String COMBINE_CLASS_ATTR
protected static final String REDUCE_CLASS_ATTR
protected static final String OUTPUT_FORMAT_CLASS_ATTR
protected static final String PARTITIONER_CLASS_ATTR
protected final JobConf conf
protected final Credentials credentials
public static final String JOB_NAMENODES
public static final String JOB_ACL_VIEW_JOB
public static final String JOB_ACL_MODIFY_JOB
public static final String CACHE_FILE_VISIBILITIES
public static final String CACHE_ARCHIVES_VISIBILITIES
public static final String JOB_CANCEL_DELEGATION_TOKEN
public static final String USER_LOG_RETAIN_HOURS
protected UserGroupInformation ugi
public JobContext(Configuration conf, JobID jobId)
public Configuration getConfiguration()
public Credentials getCredentials()
public JobID getJobID()
public int getNumReduceTasks()
1
.
public Path getWorkingDirectory() throws IOException
IOException
public Class<?> getOutputKeyClass()
public Class<?> getOutputValueClass()
public Class<?> getMapOutputKeyClass()
public Class<?> getMapOutputValueClass()
public String getJobName()
public Class<? extends InputFormat<?,?>> getInputFormatClass() throws ClassNotFoundException
InputFormat
class for the job.
InputFormat
class for the job.
ClassNotFoundException
public Class<? extends Mapper<?,?,?,?>> getMapperClass() throws ClassNotFoundException
Mapper
class for the job.
Mapper
class for the job.
ClassNotFoundException
public Class<? extends Reducer<?,?,?,?>> getCombinerClass() throws ClassNotFoundException
ClassNotFoundException
public Class<? extends Reducer<?,?,?,?>> getReducerClass() throws ClassNotFoundException
Reducer
class for the job.
Reducer
class for the job.
ClassNotFoundException
public Class<? extends OutputFormat<?,?>> getOutputFormatClass() throws ClassNotFoundException
OutputFormat
class for the job.
OutputFormat
class for the job.
ClassNotFoundException
public Class<? extends Partitioner<?,?>> getPartitionerClass() throws ClassNotFoundException
Partitioner
class for the job.
Partitioner
class for the job.
ClassNotFoundException
public RawComparator<?> getSortComparator()
RawComparator
comparator used to compare keys.
RawComparator
comparator used to compare keys.
public String getJar()
public RawComparator<?> getGroupingComparator()
RawComparator
comparator for grouping keys of inputs to the reduce.
for details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4