Andrew Johnson > HeliosX-MapReduceService-0.02_0911 > HeliosX::MapReduceService

Download:
HeliosX-MapReduceService-0.02_0911.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.02_0911   Source  

NAME ^

HeliosX::MapReduceService - Alternative Helios::Service class to provide simple map/reduce operations

SYNOPSIS ^

  use HeliosX::MapReduceService;
  blah blah blah

DESCRIPTION ^

This module is not yet complete, thus the documentation is not yet complete.

The idea here is to submit a metajob to a Helios collective, have the metajob burst into as many jobs as necessary to complete the task (map), wait for them to complete, and then run any final, cleanup tasks (reduce) as may be necessary.

Normally, a Helios service is simply a subclass of the Helios::Service class, and normally the only method a service class really needs to implement is the run() method,

SETUP METHODS ^

METHODS ^

work()

Normal Helios::Service subclasses do not need to override work(), but since HeliosX::MapReduceService has an expanded view of Helios jobs and what Helios should with them, it has to override the work() class method.

prerun()

run($metajob)

postrun($metajob)

waitForJobs($metajob)

SEE ALSO ^

Helios::Service, HeliosX::ExtLoggerService, HeliosX::Metajob

AUTHOR ^

Andrew Johnson, <lajandy at cpan dotorg>

COPYRIGHT AND LICENSE ^

Copyright (C) 2008-9 by Andrew Johnson

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available.