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.examples.terasort |
This package consists of 3 map/reduce applications for Hadoop to
compete in the annual terabyte sort
competition.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.map | |
org.apache.hadoop.mapreduce.lib.output | |
org.apache.hadoop.mapreduce.lib.partition | |
org.apache.hadoop.mapreduce.lib.reduce | |
org.apache.hadoop.mapreduce.task |
Modifier and Type | Class and Description |
---|---|
static class |
SecondarySort.FirstPartitioner
Partition based on the first part of the pair.
|
Modifier and Type | Class and Description |
---|---|
static class |
DistSum.ReduceSide.IndexPartitioner
Use the index for partitioning.
|
Modifier and Type | Class and Description |
---|---|
static class |
TeraSort.SimplePartitioner
A total order partitioner that assigns keys based on their first
PREFIX_LENGTH bytes, assuming a flat distribution.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Partitioner<?,?>> |
JobContext.getPartitionerClass()
Get the
Partitioner class for the job. |
Modifier and Type | Method and Description |
---|---|
void |
Job.setPartitionerClass(Class<? extends Partitioner> cls)
Set the
Partitioner for the job. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Partitioner<?,?>> |
WrappedMapper.Context.getPartitionerClass() |
Modifier and Type | Method and Description |
---|---|
static <K extends WritableComparable<?>,V extends Writable> |
MapFileOutputFormat.getEntry(MapFile.Reader[] readers,
Partitioner<K,V> partitioner,
K key,
V value)
Get an entry from output generated by this class.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryPartitioner<V>
Partition
BinaryComparable keys using a configurable part of
the bytes array returned by BinaryComparable.getBytes() . |
class |
HashPartitioner<K,V>
Partition keys by their
Object.hashCode() . |
class |
KeyFieldBasedPartitioner<K2,V2>
Defines a way to partition keys based on certain key fields (also see
KeyFieldBasedComparator . |
class |
TotalOrderPartitioner<K extends WritableComparable<?>,V>
Partitioner effecting a total order by reading split points from
an externally generated source.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Partitioner<?,?>> |
WrappedReducer.Context.getPartitionerClass() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Partitioner<?,?>> |
JobContextImpl.getPartitionerClass()
Get the
Partitioner class for the job. |
Copyright © 2013 Apache Software Foundation. All rights reserved.