Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.partition |
Modifier and Type | Class and Description |
---|---|
static class |
SecondarySort.FirstPartitioner
Partition based on the first part of the pair.
|
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 | Class and Description |
---|---|
class |
HashPartitioner<K,V>
Partition keys by their
Object.hashCode() . |
Copyright © 2010 The Apache Software Foundation