Mapreduce-used functions in erlang modules has to be included in Riak in order to work.
Since I have a cluster, I have to restart all the nodes every time I made some changes to the source code in that function. I thought I could use:
riak-admin erl-reload
I was wrong.
How can I do this quickly? Not every time waiting for all the nodes to stop and start again...it takes about 20 seconds for five nodes. It doesn't feel right.