Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.examples.pi |
This package consists of a map/reduce application,
distbbp,
which computes exact binary digits of the mathematical constant π.
|
org.apache.hadoop.mapred | |
org.apache.hadoop.mapred.gridmix | |
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.aggregate | |
org.apache.hadoop.mapreduce.lib.chain | |
org.apache.hadoop.mapreduce.lib.fieldsel | |
org.apache.hadoop.mapreduce.lib.reduce |
Modifier and Type | Method and Description |
---|---|
void |
QuasiMonteCarlo.QmcReducer.cleanup(Reducer.Context context)
Reduce task done, write output to a file.
|
protected void |
BaileyBorweinPlouffe.BbpReducer.cleanup(Reducer.Context context)
Write output to files.
|
void |
QuasiMonteCarlo.QmcReducer.reduce(BooleanWritable isInside,
Iterable<LongWritable> values,
Reducer.Context context)
Accumulate number of points inside/outside results from the mappers.
|
void |
WordMedian.WordMedianReducer.reduce(IntWritable key,
Iterable<IntWritable> values,
Reducer.Context context)
Sums all the individual values within the iterator and writes them to the
same key.
|
protected void |
BaileyBorweinPlouffe.BbpReducer.reduce(LongWritable offset,
Iterable<BytesWritable> values,
Reducer.Context context)
Concatenate map outputs.
|
void |
SecondarySort.Reduce.reduce(SecondarySort.IntPair key,
Iterable<IntWritable> values,
Reducer.Context context) |
void |
WordCount.IntSumReducer.reduce(Text key,
Iterable<IntWritable> values,
Reducer.Context context) |
void |
WordMean.WordMeanReducer.reduce(Text key,
Iterable<LongWritable> values,
Reducer.Context context)
Sums all the individual values within the iterator and writes them to the
same key.
|
void |
WordStandardDeviation.WordStandardDeviationReducer.reduce(Text key,
Iterable<LongWritable> values,
Reducer.Context context)
Sums all the individual values within the iterator and writes them to the
same key.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DistSum.ReduceSide.SummingReducer.reduce(IntWritable index,
Iterable<SummationWritable> sums,
Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
SleepJob.SleepReducer.cleanup(Reducer.Context context) |
protected void |
SleepJob.SleepReducer.setup(Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
Reducer.cleanup(Reducer.Context context)
Called once at the end of the task.
|
protected void |
Reducer.reduce(KEYIN key,
Iterable<VALUEIN> values,
Reducer.Context context)
This method is called once for each key.
|
void |
Reducer.run(Reducer.Context context)
Advanced application writers can use the
Reducer.run(org.apache.hadoop.mapreduce.Reducer.Context) method to
control how the reduce task works. |
protected void |
Reducer.setup(Reducer.Context context)
Called once at the start of the task.
|
Modifier and Type | Method and Description |
---|---|
void |
ValueAggregatorCombiner.reduce(Text key,
Iterable<Text> values,
Reducer.Context context)
Combines values for a given key.
|
void |
ValueAggregatorReducer.reduce(Text key,
Iterable<Text> values,
Reducer.Context context) |
void |
ValueAggregatorReducer.setup(Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
ChainReducer.run(Reducer.Context context) |
protected void |
ChainReducer.setup(Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
FieldSelectionReducer.reduce(Text key,
Iterable<Text> values,
Reducer.Context context) |
void |
FieldSelectionReducer.setup(Reducer.Context context) |
Modifier and Type | Class and Description |
---|---|
class |
WrappedReducer.Context |
Modifier and Type | Method and Description |
---|---|
Reducer.Context |
WrappedReducer.getReducerContext(ReduceContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> reduceContext)
A a wrapped
Reducer.Context for custom implementations. |
Modifier and Type | Method and Description |
---|---|
void |
IntSumReducer.reduce(Key key,
Iterable<IntWritable> values,
Reducer.Context context) |
void |
LongSumReducer.reduce(KEY key,
Iterable<LongWritable> values,
Reducer.Context context) |
Copyright © 2013 Apache Software Foundation. All rights reserved.