public static class DistSum.ReduceSide.SummationInputFormat extends DistSum.Machine.AbstractInputFormat
Constructor and Description |
---|
DistSum.ReduceSide.SummationInputFormat() |
Modifier and Type | Method and Description |
---|---|
List<InputSplit> |
getSplits(JobContext context)
Logically split the set of input files for the job.
|
createRecordReader
public DistSum.ReduceSide.SummationInputFormat()
public List<InputSplit> getSplits(JobContext context)
InputFormat
Each InputSplit
is then assigned to an individual Mapper
for processing.
Note: The split is a logical split of the inputs and the
input files are not physically split into chunks. For e.g. a split could
be <input-file-path, start, offset> tuple. The InputFormat
also creates the RecordReader
to read the InputSplit
.
getSplits
in class InputFormat<NullWritable,SummationWritable>
context
- job configuration.Copyright © 2013 Apache Software Foundation. All rights reserved.