Riak mapreduce w/ bucket types

Cezary Kosko koskocezarym at gmail.com
Thu Oct 30 16:35:14 EDT 2014


Thanks a lot!

Could you also tell me: Do I access the data just as I would a regular KV
pair?

Kind regards,
Cezary

2014-10-30 20:01 GMT+01:00 Brian Roach <roach at basho.com>:

> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20141030/e7b0ec72/attachment.html>


More information about the riak-users mailing list