Map/Reduce In pure erlang
jeremiah.peschka at gmail.com
Fri Jul 29 12:17:42 EDT 2011
WOOHOO! My wrong answer brought out the right one. Thanks for the creative solution, Brian!
Founder, Brent Ozar PLF, LLC
On Jul 29, 2011, at 9:09 AM, Brian Rowe wrote:
> This isn't completely accurate. There's nothing to stop you from
> writing a module that reads in a key, compiles the payload as code,
> and calls a function within the newly compiled module. Similarly, you
> can set up the nodes to point to an external library path and run the
> modules from there.
> As far as running map/reduce jobs from erlang, yes, there is an erlang
> API for that using the riak erlang client. You can see from the source
> that all of these operations are available:
> -export([start_link/2, start_link/3,
> start/2, start/3,
> ... snip ...
> mapred/3, mapred/4, mapred/5,
> mapred_stream/4, mapred_stream/5, mapred_stream/6,
> mapred_bucket/3, mapred_bucket/4, mapred_bucket/5,
> mapred_bucket_stream/5, mapred_bucket_stream/6,
> On Fri, Jul 29, 2011 at 11:12 AM, Jeremiah Peschka
> <jeremiah.peschka at gmail.com> wrote:
>> Jeremiah Peschka
>> Founder, Brent Ozar PLF, LLC
>> On Jul 29, 2011, at 8:10 AM, Lyes Amazouz wrote:
>>> Thank you!
>>> riak-users mailing list
>>> riak-users at lists.basho.com
>> riak-users mailing list
>> riak-users at lists.basho.com
More information about the riak-users