It looks like your m/r request is missing a Content-Type header (probably should be application/json). Perhaps it is a new requirement/validator in 1.2, perhaps the old client library is not passing it along.
Kresten Trifork On 17/09/2012, at 18.25, "Colin Alston" <colin.als...@praekeltfoundation.org> wrote: > Hi > > I'm having serious issues trying to upgrade Riak from 1.1.2 to 1.2.0_1 > on Ubuntu. > > To upgrade I stop a cluster node, purge the old package and install > 1.2.0_1 but MapReduce fails on 1.2. > > Exception: Error running MapReduce operation. Status: 500 : > <html><head><title>500 Internal Server > Error</title></head><body><h1>Internal Server Error</h1>The server > encountered an error while processing this > request:<br><pre>{error,function_clause, > [{string,tokens1,[undefined,";",[]],[{file,"string.erl"},{line,202}]}, > {mochiweb_util,parse_header,1, > [{file,"src/mochiweb_util.erl"},{line,367}]}, > {riak_kv_wm_mapred,base_type,1, > [{file,"src/riak_kv_wm_mapred.erl"},{line,110}]}, > {riak_kv_wm_mapred,ctype_ok,1, > [{file,"src/riak_kv_wm_mapred.erl"},{line,99}]}, > {riak_kv_wm_mapred,known_content_type,2, > [{file,"src/riak_kv_wm_mapred.erl"},{line,62}]}, > {webmachine_resource,resource_call,3, > [{file,"src/webmachine_resource.erl"}, > {line,169}]}, > {webmachine_resource,do,3, > [{file,"src/webmachine_resource.erl"}, > {line,128}]}, > {webmachine_decision_core,resource_call,1, > [{file,"src/webmachine_decision_core.erl"}, > > {line,48}]}]}</pre><P><HR><ADDRESS>mochiweb+webmachine web > server</ADDRESS></body></html> > > What is the real upgrade procedure supposed to be? Do I need to kill > the Riak store directories as well (/var/lib/riak) and let them > re-replicate one at a time? A fresh install of 1.2 elsewhere does > work, with a totally new store, but spouts failures with a 1.1.2 > store. > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com