You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Claudio Martella (Created) (JIRA)" <ji...@apache.org> on 2011/11/17 15:40:51 UTC

[jira] [Created] (GIRAPH-95) vertex resolution expects MutableVertex instead of BasicVertex

vertex resolution expects MutableVertex instead of BasicVertex
--------------------------------------------------------------

                 Key: GIRAPH-95
                 URL: https://issues.apache.org/jira/browse/GIRAPH-95
             Project: Giraph
          Issue Type: Bug
          Components: graph
            Reporter: Claudio Martella


At the beginning of the superstep, when a message is sent to non-existing vertex, the new vertex is created. This new vertex id is set through setVertexId() which belongs to MutableVertex. Should use initialize() instead.

See BspRPCCommunication:948 (on my local trunk)

--
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

        

[jira] [Commented] (GIRAPH-95) vertex resolution expects MutableVertex instead of BasicVertex

Posted by "Roman K (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264881#comment-13264881 ] 

Roman K commented on GIRAPH-95:
-------------------------------

I think this is about BasicRPCCommunications class. The creation of the vertex is done during the resolve() in VertexResolver and initialize() method is called there with the appropriate vertexId.

So I think that this line can be safely removed. 
If it sounds good, I can provide the patch as well. 
                
> vertex resolution expects MutableVertex instead of BasicVertex
> --------------------------------------------------------------
>
>                 Key: GIRAPH-95
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-95
>             Project: Giraph
>          Issue Type: Bug
>          Components: graph
>            Reporter: Claudio Martella
>
> At the beginning of the superstep, when a message is sent to non-existing vertex, the new vertex is created. This new vertex id is set through setVertexId() which belongs to MutableVertex. Should use initialize() instead.
> See BspRPCCommunication:948 (on my local trunk)

--
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