Lukas Nalezenec created GIRAPH-883:
--------------------------------------
Summary: Range partitioners may fail if realWorkers<maxWorkers
Key: GIRAPH-883
URL: https://issues.apache.org/jira/browse/GIRAPH-883
Project: Giraph
Issue Type: Bug
Components: graph
Affects Versions: 1.1.0
Reporter: Lukas Nalezenec
Range partitioners are dividing partitions among maxWorkers workers. But they
should divide partitions only among living workers.
current code:
partitionOwners =
masterGraphPartitioner.createInitialPartitionOwners(
chosenWorkerInfoList, maxWorkers);
correct code:
partitionOwners =
masterGraphPartitioner.createInitialPartitionOwners(
chosenWorkerInfoList, chosenWorkerInfoList.size());
--
This message was sent by Atlassian JIRA
(v6.2#6252)