程序包 | 说明 |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.mapred |
A software framework for easily writing applications which process vast
amounts of data (multi-terabyte data-sets) parallelly on large clusters
(thousands of nodes) built of commodity hardware in a reliable, fault-tolerant
manner.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.fieldsel | |
org.apache.hadoop.mapreduce.lib.reduce |
限定符和类型 | 类和说明 |
---|---|
static class |
SecondarySort.Reduce
A reducer class that just emits the sum of the input values.
|
static class |
WordCount.IntSumReducer |
限定符和类型 | 方法和说明 |
---|---|
protected static <INKEY,INVALUE,OUTKEY,OUTVALUE> |
Task.createReduceContext(Reducer<INKEY,INVALUE,OUTKEY,OUTVALUE> reducer,
Configuration job,
TaskAttemptID taskId,
RawKeyValueIterator rIter,
Counter inputKeyCounter,
Counter inputValueCounter,
RecordWriter<OUTKEY,OUTVALUE> output,
OutputCommitter committer,
StatusReporter reporter,
RawComparator<INKEY> comparator,
Class<INKEY> keyClass,
Class<INVALUE> valueClass) |
限定符和类型 | 方法和说明 |
---|---|
Class<? extends Reducer<?,?,?,?>> |
JobContext.getCombinerClass()
Get the combiner class for the job.
|
Class<? extends Reducer<?,?,?,?>> |
JobContext.getReducerClass()
Get the
Reducer class for the job. |
限定符和类型 | 方法和说明 |
---|---|
void |
Job.setCombinerClass(Class<? extends Reducer> cls)
Set the combiner class for the job.
|
void |
Job.setReducerClass(Class<? extends Reducer> cls)
Set the
Reducer for the job. |
限定符和类型 | 类和说明 |
---|---|
class |
FieldSelectionReducer<K,V>
This class implements a reducer class that can be used to perform field
selections in a manner similar to unix cut.
|
限定符和类型 | 类和说明 |
---|---|
class |
IntSumReducer<Key> |
class |
LongSumReducer<KEY> |
Copyright © 2009 The Apache Software Foundation