You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Lukas Nalezenec (JIRA)" <ji...@apache.org> on 2014/03/20 17:26:51 UTC

[jira] [Created] (GIRAPH-883) Range partitioners may fail if realWorkers
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)