Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
Modifier and Type | Method and Description |
---|---|
void |
PiEstimator.PiReducer.reduce(BooleanWritable isInside,
Iterator<LongWritable> values,
OutputCollector<WritableComparable<?>,Writable> output,
Reporter reporter)
Accumulate number of points inside/outside results from the mappers.
|
Modifier and Type | Method and Description |
---|---|
void |
PiEstimator.PiMapper.map(LongWritable offset,
LongWritable size,
OutputCollector<BooleanWritable,LongWritable> out,
Reporter reporter)
Map method.
|
Copyright © 2010 The Apache Software Foundation