Re: How local worker knows destination worker?

2014-08-08 Thread Avery Ching
Take a look at the interfaces for MasterGraphPartitioner and WorkerGraphPartitioner and their implementations for hash parititoning (HashRangePartitionerFactory). You can implement any kind of partitioning you like. Avery On 8/8/14, 7:51 AM, Robert McCune wrote: For a non-hash partitioning,

How local worker knows destination worker?

2014-08-08 Thread Robert McCune
For a non-hash partitioning, how does a worker know which destination worker to send a remote message to? In the Pregel paper, with hash partitioning, a worker can know the destination worker just by hashing the destination vertex ID But for any non-trivial partitioning, how does a worker know wh