Problem while trying multi get in mapreduce.

vijayakumar forgetvijay at gmail.com
Wed Apr 11 10:38:45 EDT 2012


I am trying to execute multi get of list of keys  in java pb client. My
map-reduce query looks as following (found from debugging):

{"inputs":{"bucket":"mybucket","key_filters":[["eq","keypart1@
@@keypart2"]]},"query":[{"map":{"language":"javascript","name":"Riak.mapValuesJson","keep":true}}]}

This returns an empty response for a valid existing key. It tried the same
query through http interface (http://server-ip:8098/mapred) with
content-type as application/json and ended up with the same result.

Is the reduce phase mandatory? Am I missing anything else?

Thanks and Regards,
Vijayakumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120411/7b4f39d4/attachment.html>


More information about the riak-users mailing list