MapReduce: returned value can't be processed by riakc_obj:get_value

Buri Arslon buriwoy at
Tue Mar 27 18:38:33 EDT 2012

Hi everyone!

I was learning MapReduce in Riak and encountered some problems.

The map function that received Value wasn't able to process it by
riakc_obj:get_value. I checked the value and found out that it was not
proper riakc object.

riakc_obj:new() returns a tuple where first element is riakc_obj atom. But
the Value that the map function receives has 'r_object' atom.

What am I doing wrong? Are there any other built-in functions to process
the value in a map function?


-- buriwoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list