I - Vertex idV - Vertex valueE - Edge valueM - Message datapublic class SuperstepHashPartitionerFactory<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> extends HashPartitionerFactory<I,V,E,M>
HashMasterPartitioner to
send the partitions to the worker that matches the superstep. It is for
testing only and should never be used in practice.| Constructor and Description |
|---|
SuperstepHashPartitionerFactory() |
| Modifier and Type | Method and Description |
|---|---|
MasterGraphPartitioner<I,V,E,M> |
createMasterGraphPartitioner()
Create the
MasterGraphPartitioner used by the master. |
createWorkerGraphPartitioner, getConf, setConfpublic MasterGraphPartitioner<I,V,E,M> createMasterGraphPartitioner()
GraphPartitionerFactoryMasterGraphPartitioner used by the master.
Instantiated once by the master and reused.createMasterGraphPartitioner in interface GraphPartitionerFactory<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable>createMasterGraphPartitioner in class HashPartitionerFactory<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable>Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.