Re: Custom assignment of partitions to workers

2015-03-25 Thread Lukas Nalezenec
Hi, There are two interfaces: WorkerGraphPartitioner - Maps vertexes to partitions MasterGraphPartitioner - Maps partitions to workers. So you need custom MasterGraphPartitioner. You dont need any external preprocessing step. Lukas On 25.3.2015 19:51, Arjun Sharma wrote: Hi, I understand we

Custom assignment of partitions to workers

2015-03-25 Thread Arjun Sharma
Hi, I understand we can override the GraphPartitionerFactory class in order to achieve custom partitioning of vertices over partitions. Is there a way to do the same to enable assigning partitions to workers in a custom way (e.g., partition n should be assigned to worker m)? The reason is that it

Re: Custom assignment of partitions to workers

2015-03-25 Thread Lukas Nalezenec
Its same. GraphPartitionerFactory has got two methods. One for WorkerGraphPartitioner and second for MasterGraphPartitioner. public interface GraphPartitionerFactory ... { MasterGraphPartitionerI, V, E createMasterGraphPartitioner(); WorkerGraphPartitionerI, V, E