Hi, Have a look at this thread http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-April/000830.html
The issue is that the code needs to be on the riak node. I use the gist here http://gist.github.com/351659 from that thread in development to make sure my M/R funs are available. HTH Russell (Re-post cos sent from wrong email before) On 22 Apr 2010, at 18:08, Abeming Sf wrote: > Hi, > > I encounter the same problem with this guy > http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-March/000809.html > where I able to use qfun as fun term in riak/erlang console but failed when > execute it from erlang module. It always returning "all nodes failed" error. > Fyi, I able to use jsanon/jsfun as fun term and execute it from erlang module. > > There is a workaround > http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-March/000810.html. > > Instead of using jsanon/jsfun and modfun as workaround, is there any solution > if I still want to use qfun? > > Regards, > Abe > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com On 22 Apr 2010, at 18:08, Abeming Sf wrote: > Hi, > > I encounter the same problem with this guy > http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-March/000809.html > where I able to use qfun as fun term in riak/erlang console but failed when > execute it from erlang module. It always returning "all nodes failed" error. > Fyi, I able to use jsanon/jsfun as fun term and execute it from erlang module. > > There is a workaround > http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-March/000810.html. > > Instead of using jsanon/jsfun and modfun as workaround, is there any solution > if I still want to use qfun? > > Regards, > Abe > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
