usually there is no sender, hence messages cannot be sorted by sender id.
in general, messages can arrive in any order and you cannot do any
assumption on that.


On Sat, Oct 19, 2013 at 12:14 AM, Haowei Liu <haowei...@gmail.com> wrote:

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


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

Reply via email to