Re: knowing about the vertex id of the sender of the message.

2013-10-18 Thread Haowei Liu
Sorry to be off the topic a bit.

I made my own message structure but was wondering if the received messages
are sorted based on sender id?

I am not able to verify since the call Log.debug() doesn't seem to print
out anything.

Thanks,

Haowei


On Thu, Oct 17, 2013 at 9:31 AM, Sebastian Schelter s...@apache.org wrote:

 Hi Jyoti,

 You can simply make the sender id a part of the message.

 Best,
 Sebastian

 On 17.10.2013 18:10, Jyoti Yadav wrote:
  Hi..
  In vertex computation code,at the start of the superstep every vertex
  processes its received messages.. Is there any way for the vertex to know
  who is the sender of the message it is currenty processing.?
 
  Thanks
  Jyoti
 




Re: knowing about the vertex id of the sender of the message.

2013-10-17 Thread Claudio Martella
No, you'll have to add it to the message data.


On Thu, Oct 17, 2013 at 6:10 PM, Jyoti Yadav rao.jyoti26ya...@gmail.comwrote:

 Hi..
 In vertex computation code,at the start of the superstep every vertex
 processes its received messages.. Is there any way for the vertex to know
 who is the sender of the message it is currenty processing.?

 Thanks
 Jyoti




-- 
   Claudio Martella
   claudio.marte...@gmail.com