giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avery Ching <>
Subject Re: creating non existing vertices by sending messages
Date Fri, 03 Feb 2012 18:59:59 GMT
Thanks for the comments David.  The behavior of what happens is 
completely defined by the chosen VertexResolver, see 
(GiraphJob#setWorkerContextClass).  Developers can implement any 
behavior they want.  I believe the only reason to bypass was as a 
performance optimization.


On 2/3/12 8:34 AM, Claudio Martella wrote:
> Agreed, probably making the path configurable is the way to go.
> On Fri, Feb 3, 2012 at 5:30 PM, David Garcia<>  wrote:
>> I just wanted to send this out because I remember reading a discussion on
>> this topic.  Currently, graph will create a vertex in the graph if a
>> message is sent to a vertexID that doesn't exist.  Personally, I really
>> really like this behavior.  It enables me to forgo vertex creation if I
>> don't need it.  If I need the vertex, I can simply send a message to
>> create it, and process the message that was sent.  I understand that there
>> are some concerns with this. . .I would suggest making this behavior
>> configurable at job creation.  This would be an awesome compromise, and
>> would not preclude either type of behavior.
>> -David

View raw message