Digging deeper into Erlang Map Reduces, I'm trying to test one out via the local client, but I cannot find an example of providing a 2i along with the bucket (instead of bucket alone, or bucket + key list) when I run things from the local riak client in the erlang vm when you attach to a running node.
Does anyone have an example of how to accomplish this? I assume it's something simple, but I cannot find any examples of this.
On Fri, Jan 18, 2013 at 11:48 AM, Evan Vigil-McClanahan
<[hidden email]> wrote:
> Note that this uses the luke mapreduce subsystem, which isn't a good
> idea as it's been deprecated going forward.
> Unfortunately there doesn't seem to be a way that's as simple to do
> pipe mapreduce jobs. I'll ping people and see if we can't get you all
> some code that's slightly easier to use.
Pipe-based mapreduce is encapsulated in the `riak_kv_mrc_pipe` module.
Instead of `C:mapred...`, use `riak_kv_mrc_pipe:mapred...`. Note that
the next release of riak drops the `riak_client`, luke-based version,
and only the pipe-based version remains.