Re: Custom partitioning among workers

2014-04-05 Thread Lukas Nalezenec
Hi, You can simply write two Giraph jobs. If you patch source code with patch from ticket GIRAPH-886 you can IMHO change vertex ids and partitioning in the middle of computation. Regards Lukas On 5.4.2014 13:38, Akshay Trivedi wrote: Hi, Thank you Lukas for your reply. I have distributed my gr

Re: Custom partitioning among workers

2014-04-05 Thread Akshay Trivedi
Hi, Thank you Lukas for your reply. I have distributed my graph using custom WorkerGraphPartitioner and MasterGraphPartitioner. But I am facing difficulty in labeling the vertices initially. In order to label vertices,I need to run breadth first search(bfs) on the graph. Where should the bfs code b

Re: Custom partitioning among workers

2014-04-04 Thread Lukas Nalezenec
Hi, Make labels be part of vertex id (I know, its limiting) then implement custom WorkerGraphPartitioner and MasterGraphPartitioner. Regards Lukas On 4.4.2014 13:59, Akshay Trivedi wrote: Hi all, I need help on partitioning graph. I input the graph and label it. Now I want that all vertices w

Custom partitioning among workers

2014-04-04 Thread Akshay Trivedi
Hi all, I need help on partitioning graph. I input the graph and label it. Now I want that all vertices with same label are assigned to a worker and no other vertices with different labels are assigned to the same worker. In this way each group of vertices having same label are assigned to an uniqu