Currently aggregators are the only way that the master can communicate
to the workers with user code. If you have any suggestions for
additional methods, we'd like to hear about it!
Avery
On 6/4/13 8:05 AM, David Gainer wrote:
Thanks. That does the trick.
To set the variable in the master
Thanks. That does the trick.
To set the variable in the master that the workers can see I'm using an
aggregator - even though it doesn't do any aggregating. It works - but is
this
the right way to go about that?
From: Avery Ching [mailto:ach...@apache.org]
Sent: Tuesday, June 04,
Rather than use voteToHalt, you could add an Aggregator that kept track
of the "alive vertices" and then you can use an Aggregator to store/set
your configuration value that the Master computation can modify. Do the
logic in the Master computation and all should be well.
Avery
On 6/3/13 10:0