Riak mapreduce w/ bucket types

Brian Roach roach at basho.com
Thu Oct 30 15:01:44 EDT 2014


Hello Cezary,

You need to supply the bucket type as part of the inputs:

{ "inputs":["sets","987"], ... }

Thanks,
- Roach

On Thu, Oct 30, 2014 at 11:51 AM, Cezary Kosko <koskocezarym at gmail.com> wrote:
> Hi,
> I was trying to run a mapreduce job on a bucket of sets (the default 'sets'
> setup from Riak docs). However, running
> https://gist.github.com/cezary-ytrre/d707ee2f13911c274d69
> on a node returns [] while a simple 'curl
> localhost:8098/types/sets/buckets/987/datatypes/general'
> returns a perfectly valid record.
> Is there a way to tell Riak to query a specific bucket type? I've not found
> any in the docs so far.
>
> Kind regards,
> Cezary
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list