public class JoinPartitioner
extends java.lang.Object
Partitioner. Loads a previously generated PartitioningResult and distributes the spatial partitions among the reducers so each reducer processes approximately the same number of records.ConfigParams.PARTITIONING_RESULT| Constructor and Description |
|---|
JoinPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(JobConf conf) |
int |
getPartition(JoinGroupWritable key, RecordInfo value, int numPartitions) |
public void configure(JobConf conf)
public int getPartition(JoinGroupWritable key, RecordInfo value, int numPartitions)
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.