Uses of Class
org.apache.hadoop.mapreduce.Partitioner
Packages that use Partitioner
Package
Description
-
Uses of Partitioner in org.apache.hadoop.mapred.lib
Subclasses of Partitioner in org.apache.hadoop.mapred.libModifier and TypeClassDescriptionclassPartitionBinaryComparablekeys using a configurable part of the bytes array returned byBinaryComparable.getBytes().classKeyFieldBasedPartitioner<K2,V2> Defines a way to partition keys based on certain key fields (also seeKeyFieldBasedComparator.classPartitioner effecting a total order by reading split points from an externally generated source. -
Uses of Partitioner in org.apache.hadoop.mapreduce
Methods in org.apache.hadoop.mapreduce that return types with arguments of type PartitionerModifier and TypeMethodDescriptionClass<? extends Partitioner<?,?>> JobContext.getPartitionerClass()Get thePartitionerclass for the job.Method parameters in org.apache.hadoop.mapreduce with type arguments of type PartitionerModifier and TypeMethodDescriptionvoidJob.setPartitionerClass(Class<? extends Partitioner> cls) Set thePartitionerfor the job. -
Uses of Partitioner in org.apache.hadoop.mapreduce.lib.output
Methods in org.apache.hadoop.mapreduce.lib.output with parameters of type PartitionerModifier and TypeMethodDescriptionstatic <K extends WritableComparable<?>,V extends Writable>
WritableMapFileOutputFormat.getEntry(org.apache.hadoop.io.MapFile.Reader[] readers, Partitioner<K, V> partitioner, K key, V value) Get an entry from output generated by this class. -
Uses of Partitioner in org.apache.hadoop.mapreduce.lib.partition
Subclasses of Partitioner in org.apache.hadoop.mapreduce.lib.partitionModifier and TypeClassDescriptionclassPartitionBinaryComparablekeys using a configurable part of the bytes array returned byBinaryComparable.getBytes().classHashPartitioner<K,V> Partition keys by theirObject.hashCode().classKeyFieldBasedPartitioner<K2,V2> Defines a way to partition keys based on certain key fields (also seeKeyFieldBasedComparator.classRehashPartitioner<K,V> This partitioner rehashes values returned byObject.hashCode()to get smoother distribution between partitions which may improve reduce reduce time in some cases and should harm things in no cases.classPartitioner effecting a total order by reading split points from an externally generated source.