You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Jyoti Yadav <ra...@gmail.com> on 2013/10/26 14:35:10 UTC

About Aggregators working

Hi..
I have one query in my mind..I don't know whether it is a silly question or
not?
But the question is

Suppose the scenario mentioned below..

At Superstep 0
    1.All vertices are active.
     2. All vertices write some vaue to the SumAggregator.
     3.  All vertices vote for halt..
The question is that Will the  vertices be able to get the value of
SumAggregator in
next superstep? Becoz in superstep 0 no explicit msg is being passed to the
neighbours.. And  at the end all vertices are voting for halt..


Any suggestions are really appreciated..

Regards
Jyoti

Re: About Aggregators working

Posted by Jyoti Yadav <ra...@gmail.com>.
Thanks Ameya for your reply..


On Tue, Oct 29, 2013 at 12:21 AM, Ameya Vilankar
<am...@gmail.com>wrote:

> Hi,
> The problem with the above scenario since all vertices will call vote to
> halt, there will be no active vertices left for the next superstep since
> none of the vertices receive a message. So, the program will terminate on
> zeroth superstep itself. If you want access to the output of the aggregator
> you can
> 1. Not call voteToHalt in the superstep 0 but call it in superstep 1 where
> you get the aggregated value before calling it.
> 2. Use an aggregator writer class the saves the aggregated output to file.
> I don't know if Aggregator writer is present in the release branch of
> giraph. But, it is surely present in its trunk branch which I suggest you
> work off.
> Thanks
>
>
> On Mon, Oct 28, 2013 at 9:20 AM, Jyoti Yadav <ra...@gmail.com>wrote:
>
>> Please help..
>>
>> Jyoti
>>
>>
>> On Sun, Oct 27, 2013 at 9:14 PM, Jyoti Yadav <ra...@gmail.com>wrote:
>>
>>> Anyone please reply..
>>>
>>>
>>>
>>> On Sat, Oct 26, 2013 at 6:05 PM, Jyoti Yadav <rao.jyoti26yadav@gmail.com
>>> > wrote:
>>>
>>>> Hi..
>>>> I have one query in my mind..I don't know whether it is a silly
>>>> question or not?
>>>> But the question is
>>>>
>>>> Suppose the scenario mentioned below..
>>>>
>>>> At Superstep 0
>>>>     1.All vertices are active.
>>>>      2. All vertices write some vaue to the SumAggregator.
>>>>      3.  All vertices vote for halt..
>>>> The question is that Will the  vertices be able to get the value of
>>>> SumAggregator in
>>>> next superstep? Becoz in superstep 0 no explicit msg is being passed to
>>>> the neighbours.. And  at the end all vertices are voting for halt..
>>>>
>>>>
>>>> Any suggestions are really appreciated..
>>>>
>>>> Regards
>>>> Jyoti
>>>>
>>>>
>>>
>>
>

Re: About Aggregators working

Posted by Ameya Vilankar <am...@gmail.com>.
Hi,
The problem with the above scenario since all vertices will call vote to
halt, there will be no active vertices left for the next superstep since
none of the vertices receive a message. So, the program will terminate on
zeroth superstep itself. If you want access to the output of the aggregator
you can
1. Not call voteToHalt in the superstep 0 but call it in superstep 1 where
you get the aggregated value before calling it.
2. Use an aggregator writer class the saves the aggregated output to file.
I don't know if Aggregator writer is present in the release branch of
giraph. But, it is surely present in its trunk branch which I suggest you
work off.
Thanks


On Mon, Oct 28, 2013 at 9:20 AM, Jyoti Yadav <ra...@gmail.com>wrote:

> Please help..
>
> Jyoti
>
>
> On Sun, Oct 27, 2013 at 9:14 PM, Jyoti Yadav <ra...@gmail.com>wrote:
>
>> Anyone please reply..
>>
>>
>>
>> On Sat, Oct 26, 2013 at 6:05 PM, Jyoti Yadav <ra...@gmail.com>wrote:
>>
>>> Hi..
>>> I have one query in my mind..I don't know whether it is a silly question
>>> or not?
>>> But the question is
>>>
>>> Suppose the scenario mentioned below..
>>>
>>> At Superstep 0
>>>     1.All vertices are active.
>>>      2. All vertices write some vaue to the SumAggregator.
>>>      3.  All vertices vote for halt..
>>> The question is that Will the  vertices be able to get the value of
>>> SumAggregator in
>>> next superstep? Becoz in superstep 0 no explicit msg is being passed to
>>> the neighbours.. And  at the end all vertices are voting for halt..
>>>
>>>
>>> Any suggestions are really appreciated..
>>>
>>> Regards
>>> Jyoti
>>>
>>>
>>
>

Re: About Aggregators working

Posted by Jyoti Yadav <ra...@gmail.com>.
Please help..

Jyoti


On Sun, Oct 27, 2013 at 9:14 PM, Jyoti Yadav <ra...@gmail.com>wrote:

> Anyone please reply..
>
>
>
> On Sat, Oct 26, 2013 at 6:05 PM, Jyoti Yadav <ra...@gmail.com>wrote:
>
>> Hi..
>> I have one query in my mind..I don't know whether it is a silly question
>> or not?
>> But the question is
>>
>> Suppose the scenario mentioned below..
>>
>> At Superstep 0
>>     1.All vertices are active.
>>      2. All vertices write some vaue to the SumAggregator.
>>      3.  All vertices vote for halt..
>> The question is that Will the  vertices be able to get the value of
>> SumAggregator in
>> next superstep? Becoz in superstep 0 no explicit msg is being passed to
>> the neighbours.. And  at the end all vertices are voting for halt..
>>
>>
>> Any suggestions are really appreciated..
>>
>> Regards
>> Jyoti
>>
>>
>

Re: About Aggregators working

Posted by Jyoti Yadav <ra...@gmail.com>.
Anyone please reply..



On Sat, Oct 26, 2013 at 6:05 PM, Jyoti Yadav <ra...@gmail.com>wrote:

> Hi..
> I have one query in my mind..I don't know whether it is a silly question
> or not?
> But the question is
>
> Suppose the scenario mentioned below..
>
> At Superstep 0
>     1.All vertices are active.
>      2. All vertices write some vaue to the SumAggregator.
>      3.  All vertices vote for halt..
> The question is that Will the  vertices be able to get the value of
> SumAggregator in
> next superstep? Becoz in superstep 0 no explicit msg is being passed to
> the neighbours.. And  at the end all vertices are voting for halt..
>
>
> Any suggestions are really appreciated..
>
> Regards
> Jyoti
>
>