Re: Debugging mapreduce

2013-09-25 Thread Matt Snyder
I know it's a few extra steps, but I've had success using node.js and riak-js(http://riakjs.com) to debug MapReduce I'm actually working on a new app called Refraction that will be a Futon (CouchDB) like interface for Riak. I hope to have that available as open source in the next few weeks. Th

Re: Debugging mapreduce

2013-09-24 Thread Charl Matthee
Hi, On 25 September 2013 03:44, Toby Corkindale wrote: > Have you tried executing your javascript outside of Riak? > ie. paste the function into the Chrome debugger, then call it with a > Riak-like data structure. The problem with this approach is I need to make some assumptions on what the dat

Re: Debugging mapreduce

2013-09-24 Thread Toby Corkindale
On 25/09/13 11:20, Charl Matthee wrote: Hi, I am trying to run the following mapreduce query across my cluster: # curl -XPOST http://10.179.229.209:8098/mapred -H "Content-Type: application/json" -d '{"inputs":"tweets", "query":[{"map":{"language":"javascript", "source":"function(value, keyData

Debugging mapreduce

2013-09-24 Thread Charl Matthee
Hi, I am trying to run the following mapreduce query across my cluster: # curl -XPOST http://10.179.229.209:8098/mapred -H "Content-Type: application/json" -d '{"inputs":"tweets", "query":[{"map":{"language":"javascript", "source":"function(value, keyData, arg) {t = JSON.parse(value.values[0].dat

RE: Debugging mapreduce

2013-09-24 Thread Erik Søe Sørensen
il: riak-users Emne: Debugging mapreduce Hi, I am trying to run the following mapreduce query across my cluster: # curl -XPOST http://10.179.229.209:8098/mapred -H "Content-Type: application/json" -d '{"inputs":"tweets", "query":[{"map":{"

Debugging mapreduce

2013-09-23 Thread Charl Matthee
Hi, I am trying to run the following mapreduce query across my cluster: # curl -XPOST http://10.179.229.209:8098/mapred -H "Content-Type: application/json" -d '{"inputs":"tweets", "query":[{"map":{"language":"javascript", "source":"function(value, keyData, arg) {t = JSON.parse(value.values[0].dat