Riak.mapValuesJson crashes on \r\n
aphyr at aphyr.com
Wed Mar 23 16:34:55 EDT 2011
Newline parsing is broken in JSON2.js shipped with Riak. Drop a more
recent version of JSON2.js in the directory referred to by js_source_dir
in app.config's riak_kv section, e.g.
and reload the node.
On 03/23/2011 01:31 PM, Michael Ossareh wrote:
> That stack trace is the product of calling Riak.mapValuesJson in a map
> phase of a map reduce job. I checked the same parsing against Chrome and
> Firefox and they both parse the string as I'd expect. The object, as a
> string, that is being parsed is:
> The setup is: Riak 0.14.0 on Mac OS X 10.6.6 and CentOS 5.5
> Any advice / pointers, greatly appreciated. Also, let me know if there
> is anything else I can do to help.
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users