Sebastian Schelter created GIRAPH-245:
-----------------------------------------

             Summary: BasicRPCCommunications fails with custom vertices
                 Key: GIRAPH-245
                 URL: https://issues.apache.org/jira/browse/GIRAPH-245
             Project: Giraph
          Issue Type: Bug
    Affects Versions: 0.2.0
            Reporter: Sebastian Schelter


BasicRPCCommunications assumes that every vertex is an instance of 
MutableVertex in line 1265:

{noformat} 
      if (vertex != null) {
        ((MutableVertex<I, V, E, M>) vertex).setVertexId(vertexIndex);
        partition.putVertex(vertex);
      }
{noformat} 

For custom vertices that only extend BasicVertex, this code fails with a 
ClassCastException



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to