Looks like you're running a JS map-reduce job.  Scanning the code of 
riak_kv_w_reduce, it looks like the culprit could be line 270, … something in 
the middle of running a JS map/reduce job with an Erlang Fun object which is 
incompatible across releases.

It looks like with the present 1.3.0 codebase, JS M/R will likely not work 
until all the nodes have been upgraded.    Some background here:  
http://www.javalimit.com/2010/05/passing-funs-to-other-erlang-nodes.html

The fix going forward should be to have js_runner/1 return a symbolic 
(external) fun object.  But that may not be the answer you're looking for.

Kresten


On Mar 15, 2013, at 11:03 AM, Mridul Kashatria 
<[email protected]<mailto:[email protected]>> wrote:

2013-03-15 09:45:35.104 [error] <0.4065.0> gen_fsm <0.4065.0> in state
wait_for_input terminated with reason: bad function
#Fun<riak_kv_w_reduce.0.7146031> in riak_kv_w_reduce:reduce/3 line 206


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to