On Fri, Mar 9, 2012 at 8:32 PM, Matthew Tovbin <[email protected]> wrote: > Thanks, Sean! > > What are the suggestions for solving this issue, except of cleaning data > before putting it to Riak?
pre- or post-commit hook maybe? That means your clients won't need to do an explicit clean, but the data will still be clean once it gets stored (presumably). Others on this list will know far better than me though, it's just an idea. Sam > > > -Matthew > > > > On Fri, Mar 9, 2012 at 10:38, Sean Cribbs <[email protected]> wrote: >> >> Matthew, >> >> Even if your map function doesn't use the object, the Erlang side doesn't >> know that (Javascript funargs are exceptionally lazy anyway). It will still >> try to serialize the object into JSON to send marshal it into the VM. That's >> where the error is generated. >> >> On Fri, Mar 9, 2012 at 12:20 PM, Matthew Tovbin <[email protected]> >> wrote: >>> >>> Good day! >>> >>> As previously discussed here >>> (https://github.com/basho/riak_kv/pull/252#issuecomment-4415767) I am unable >>> to perform MR on my cluster due to wrong encoding in some of my values. >>> >>> What are the suggestions for solving this issue, except of cleaning data >>> before putting it to Riak? >>> >>> Why does even this map function fail "function map () { return [1]; }" >>> ? It's not supposed to parse the value. >>> >>> >>> Thanks in advance for any tips. >>> >>> -Matthew >>> >>> >>> _______________________________________________ >>> riak-users mailing list >>> [email protected] >>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >>> >> >> >> >> -- >> Sean Cribbs <[email protected]> >> Software Engineer >> Basho Technologies, Inc. >> http://basho.com/ >> > > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > -- Samuel Elliott [email protected] http://lenary.co.uk/ +44 (0)7891 993 664 _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
