Re: Worker to task id mapping in giraph

2017-11-28 Thread Ravikant Dindokar
Hi Kenrick, Thanks for your input. Regards, Ravikant On Tue, Nov 28, 2017 at 1:26 AM, Kenrick Fernandes wrote: > Ravikant, > > As far as I know, there is no way to do this (atleast not without changing > the network names of the machines which is outside the scope of

Re: Worker to task id mapping in giraph

2017-11-27 Thread Kenrick Fernandes
Ravikant, As far as I know, there is no way to do this (atleast not without changing the network names of the machines which is outside the scope of the Giraph code). However, a simple solution might be to make a mapping data structure that stores the underlying node IDs and then you can access

Worker to task id mapping in giraph

2017-11-26 Thread Ravikant Dindokar
Hi, I am trying to change the mapping of partitions to workers in createInitialPartitionOwners(Collection availableWorkerInfos, int maxWorkers) defined in org.apache.giraph.partition.MasterGraphPartitionerImpl.java. The first argument to this method is the list of available workers and each