Package | Description |
---|---|
org.apache.hadoop.examples.pi |
This package consists of a map/reduce application,
distbbp,
which computes exact binary digits of the mathematical constant π.
|
Modifier and Type | Method and Description |
---|---|
RecordReader<NullWritable,SummationWritable> |
DistSum.Machine.AbstractInputFormat.createRecordReader(InputSplit generic,
TaskAttemptContext context)
Specify how to read the records
|
Modifier and Type | Method and Description |
---|---|
int |
SummationWritable.compareTo(SummationWritable that) |
int |
DistSum.ReduceSide.IndexPartitioner.getPartition(IntWritable index,
SummationWritable value,
int numPartitions)
Return the index as the partition.
|
protected void |
DistSum.ReduceSide.PartitionMapper.map(NullWritable nw,
SummationWritable sigma,
Mapper.Context context)
Partitions sigma into parts
|
protected void |
DistSum.MapSide.SummingMapper.map(NullWritable nw,
SummationWritable sigma,
Mapper.Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
DistSum.ReduceSide.SummingReducer.reduce(IntWritable index,
Iterable<SummationWritable> sums,
Reducer.Context context) |
Copyright © 2013 Apache Software Foundation. All rights reserved.