giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Schelter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GIRAPH-245) BasicRPCCommunications fails with custom vertices
Date Tue, 10 Jul 2012 12:40:40 GMT
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

        

Mime
View raw message