How to resolve Mapreduce exceptio errors

Gopi Krishna gopi at lintelindia.com
Sat May 17 12:42:43 EDT 2014


Hi,

i am getting the follwoing while trying to solve



Hi,

I got it. very much thanks,one more doubt please clarify it.

same thing i have done for another bucket called "test" which contains data
in the form of key, value.

but when i do map reduce i am getting the following:

Mapf = fun(Obj,_,_) -> [ <- riak_object:get_value(Object)] end.


{ok, [{0,[S]}]} = riakc_pb_socket:mapred(Pid,<<"
test">>,[{map,{qfun,Maps},none,true}]).
** exception error: no match of right hand side value {ok,[{0,
                                                       [<<"{\"age\": 24,
\"name\": \"krishna\"}">>,
                                                        <<"{\"age\": 29,
\"name\": \"sharat\"}">>,
                                                        <<"{\"age\": 27,
\"name\": \"anil\"}">>,
                                                         <<"{\"age\": 28,
\"name\": \"kumar\"}">>,
                                                      <<"{\"age\": 24,
\"name\": \"gopi\"}">>,
                                                     <<"{\"age\": 25,
\"name\": \"ramesh\"}">>]}]}



-- 

Thanks & Regards,
J.Gopi Krishna
+91-8341452934,
www.lintelindia.com
Lintel Technologies Pvt. LTD,Hyderabad.

This message contains confidential information and is intended for
recipient. If you are not the intended recipient you are notified that
disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited. E-mail transmission
cannot be guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140517/d7243eeb/attachment.html>


More information about the riak-users mailing list