You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Robert McCune <Ro...@nd.edu> on 2014/08/08 16:51:12 UTC

How local worker knows destination worker?

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 where to send
a remote message?

Welcome any references to the literature.

Thank you

Re: How local worker knows destination worker?

Posted by Avery Ching <ac...@apache.org>.
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 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 where to 
> send a remote message?
>
> Welcome any references to the literature.
>
> Thank you