Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.examples.dancing |
This package is a distributed implementation of Knuth's dancing links
algorithm that can run under Hadoop.
|
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.examples.terasort |
This package consists of 3 map/reduce applications for Hadoop to
compete in the annual terabyte sort
competition.
|
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.input | |
org.apache.hadoop.mapreduce.lib.map | |
org.apache.hadoop.mapreduce.lib.reduce | |
org.apache.hadoop.mapreduce.task | |
org.apache.hadoop.tools.mapred |
Modifier and Type | Class and Description |
---|---|
static class |
BaileyBorweinPlouffe.BbpMapper
Mapper class computing digits of Pi.
|
static class |
MultiFileWordCount.MapClass
This Mapper is similar to the one in
WordCount.MapClass . |
static class |
QuasiMonteCarlo.QmcMapper
Mapper class for Pi estimation.
|
static class |
SecondarySort.MapClass
Read two integers from each line and generate a key, value pair
as ((left, right), right).
|
static class |
WordCount.TokenizerMapper |
static class |
WordMean.WordMeanMapper
Maps words from line of text into 2 key-value pairs; one key-value pair for
counting the word, another for counting its length.
|
static class |
WordMedian.WordMedianMapper
Maps words from line of text into a key-value pair; the length of the word
as the key, and 1 as the value.
|
static class |
WordStandardDeviation.WordStandardDeviationMapper
Maps words from line of text into 3 key-value pairs; one key-value pair for
counting the word, one for counting its length, and one for counting the
square of its length.
|
Modifier and Type | Class and Description |
---|---|
static class |
DistributedPentomino.PentMap
Each map takes a line, which represents a prefix move and finds all of
the solutions that start with that prefix.
|
Modifier and Type | Class and Description |
---|---|
static class |
DistSum.MapSide.SummingMapper
A mapper which computes sums
|
static class |
DistSum.ReduceSide.PartitionMapper
A Mapper which partitions a summation
|
Modifier and Type | Class and Description |
---|---|
static class |
TeraGen.SortGenMapper
The Mapper class that given a row number, will generate the appropriate
output line.
|
Modifier and Type | Class and Description |
---|---|
static class |
SleepJob.SleepMapper |
Modifier and Type | Method and Description |
---|---|
Class<? extends Mapper<?,?,?,?>> |
JobContext.getMapperClass()
Get the
Mapper class for the job. |
Modifier and Type | Method and Description |
---|---|
void |
Job.setMapperClass(Class<? extends Mapper> cls)
Set the
Mapper for the job. |
Modifier and Type | Class and Description |
---|---|
class |
ValueAggregatorMapper<K1 extends WritableComparable<?>,V1 extends Writable>
This class implements the generic mapper of Aggregate.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
The ChainMapper class allows to use multiple Mapper classes within a single
Map task.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
Chain.addMapper(boolean isMap,
Job job,
Class<? extends Mapper> klass,
Class<?> inputKeyClass,
Class<?> inputValueClass,
Class<?> outputKeyClass,
Class<?> outputValueClass,
Configuration mapperConf)
Adds a Mapper class to the chain job.
|
static void |
ChainMapper.addMapper(Job job,
Class<? extends Mapper> klass,
Class<?> inputKeyClass,
Class<?> inputValueClass,
Class<?> outputKeyClass,
Class<?> outputValueClass,
Configuration mapperConf)
Adds a
Mapper class to the chain mapper. |
static void |
ChainReducer.addMapper(Job job,
Class<? extends Mapper> klass,
Class<?> inputKeyClass,
Class<?> inputValueClass,
Class<?> outputKeyClass,
Class<?> outputValueClass,
Configuration mapperConf)
Adds a
Mapper class to the chain reducer. |
Modifier and Type | Class and Description |
---|---|
class |
FieldSelectionMapper<K,V>
This class implements a mapper class that can be used to perform
field selections in a manner similar to unix cut.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingMapper<K1,V1,K2,V2>
An
Mapper that delegates behavior of paths to multiple other
mappers. |
Modifier and Type | Method and Description |
---|---|
static void |
MultipleInputs.addInputPath(Job job,
Path path,
Class<? extends InputFormat> inputFormatClass,
Class<? extends Mapper> mapperClass)
|
Modifier and Type | Class and Description |
---|---|
class |
InverseMapper<K,V>
A
Mapper that swaps keys and values. |
class |
MultithreadedMapper<K1,V1,K2,V2>
Multithreaded implementation for @link org.apache.hadoop.mapreduce.Mapper.
|
class |
RegexMapper<K>
A
Mapper that extracts text matching a regular expression. |
class |
TokenCounterMapper
Tokenize the input values and emit each word with a count of 1.
|
class |
WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
A
Mapper which wraps a given one to allow custom
Mapper.Context implementations. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Mapper<?,?,?,?>> |
WrappedMapper.Context.getMapperClass() |
static <K1,V1,K2,V2> |
MultithreadedMapper.getMapperClass(JobContext job)
Get the application's mapper class.
|
Modifier and Type | Method and Description |
---|---|
static <K1,V1,K2,V2> |
MultithreadedMapper.setMapperClass(Job job,
Class<? extends Mapper<K1,V1,K2,V2>> cls)
Set the application's mapper class.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Mapper<?,?,?,?>> |
WrappedReducer.Context.getMapperClass() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Mapper<?,?,?,?>> |
JobContextImpl.getMapperClass()
Get the
Mapper class for the job. |
Modifier and Type | Class and Description |
---|---|
class |
CopyMapper
Mapper class that executes the DistCp copy operation.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.