cascading.tuple.hadoop.util
Class HasherPartitioner
java.lang.Object
cascading.tuple.util.TupleHasher
cascading.tuple.hadoop.util.HasherPartitioner
- All Implemented Interfaces:
- Serializable, JobConfigurable
- Direct Known Subclasses:
- CoGroupingPartitioner, GroupingPartitioner, GroupingSortingPartitioner
public class HasherPartitioner
- extends TupleHasher
- implements JobConfigurable
Super class of all Hadoop partitioners.
As of Cascading 2.7 the hashing used to calculate partitions has been changed to use Murmur3. Users that rely on the
old behaviour should set HASHER_PARTITIONER_USE_LEGACY_HASH
to
true
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HASHER_PARTITIONER_USE_LEGACY_HASH
public static final String HASHER_PARTITIONER_USE_LEGACY_HASH
- See Also:
- Constant Field Values
HasherPartitioner
public HasherPartitioner()
configure
public void configure(JobConf jobConf)
- Specified by:
configure
in interface JobConfigurable
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.