Re: reduce headaches

2010-09-20 Thread francisco treacy
Kevin and Sean, 2010/9/20 Kevin Smith : > js_reload will force a reload of all the Javascript VMs. This will dump all > state, including any accumulated anonymous functions. We do cache anonymous > functions to reduce the number of JS calls we have to make but it's possible > there's a bug in t

Re: reduce headaches

2010-09-20 Thread Kevin Smith
On Sep 20, 2010, at 12:07 PM, francisco treacy wrote: > >> 2) How are you reloading new Javascript functions? 'riak-admin js_reload' >> should cause all the Javascript VMs to restart and start from a clean slate. >> If that's not working correctly I'd be very interested in knowing that so I

Re: reduce headaches

2010-09-20 Thread Sean Cribbs
Also, your query may have hit some "not_found" objects - you'll probably want to filter those out in the reduce phase using values = Riak.filterNotFound(values); That could be the source of some errors. Sean Cribbs Developer Advocate Basho Technologies, Inc. http://basho.com/ On Sep 20, 2010,

Re: reduce headaches

2010-09-20 Thread francisco treacy
2010/9/19 Kevin Smith : > 0) I know the MapReduce machinery isn't as user-friendly as it could be. We > are making plans now on ways to dramatically improve things on this front in > the nearish future. I hope to have more details to share soon. We've > committed improvements to the error report

Re: reduce headaches

2010-09-19 Thread Kevin Smith
Francisco -- 0) I know the MapReduce machinery isn't as user-friendly as it could be. We are making plans now on ways to dramatically improve things on this front in the nearish future. I hope to have more details to share soon. We've committed improvements to the error reporting logic on tip s

reduce headaches

2010-09-19 Thread francisco treacy
So, I've had a weekend plagued of reduce function errors and general weirdness, probably due to my ignorance on the subject. Functions seem to be cached, which makes total sense. But it happened to me several times sending a *different* function yet Riak would completely ignore it and keep on runn