On 7 February 2017 at 03:50, raghuveer sj <[email protected]> wrote:
> Hi Magnus,
>
> Previously i had used developer branch as master build was failing. Now
> with the latest changes i see :
>
> 10> riakc_pb_socket:mapred_bucket(Riak, <<"training">>, [{map, {qfun,
> ReFun}, Re, true}]).
> {error,<<"{\"phase\":0,\"error\":\"{badfun,#Fun<erl_eval.18.
> 50752066>}\",\"input\":\"{ok,{r_object,<<\\\"training\\\">>,
> <<\\\"bar\\\">>"...>>}
>
> Please help me out.
>
> Regards,
> Raghuveer
>
>
>
Hi Raghuveer,
I have been able to reproduce the error message you are seeing after I
built riak-erlang-client with OTP-19. It appears that there are some
incompatibilities between newer OTP versions and the map-reduce code. I
haven't yet had the time to dig deeper, but suspect that changes in
Erlang's string handling may play a role.
Please try to re-compile the Erlang client with OTP-16, and let me know if
you can successfully run the example code you posted earlier under OTP-16
(e.g. start Erlang with "$(riak ertspath)/erl").
Kind Regards,
Magnus
--
Magnus Kessler
Client Services Engineer
Basho Technologies Limited
Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com