Pass keyarg from one map phase to another?

2012-03-23 Thread Matthew A. Brown
For situations in which one map phase passes output to a subsequent map phase, the documentation states: These map functions filter their inputs based on the arg and return bucket-key pairs for a subsequent map phase Is it possible to also return a keyarg? So a three-element array? Thanks! M

Re: Pass keyarg from one map phase to another?

2012-03-23 Thread Sean Cribbs
Mat, Absolutely, we do recommend doing that. Hopefully this blog post will help: http://basho.com/blog/technical/2010/04/14/practical-map-reduce:-forwarding-and-collecting/ On Fri, Mar 23, 2012 at 11:37 AM, Matthew A. Brown wrote: > For situations in which one map phase passes output to a subseq

Re: Pass keyarg from one map phase to another?

2012-03-23 Thread Daniel Reverri
Hi Mat, Yes, a map function may return a three element array with the third element being used as keydata to a subsequent map phase. A quick example: # create an object curl http://localhost:8098/riak/bucket/key -XPUT -d 'hello' -H 'content-type:text/plain' # example MapReduce query curl http

Riak Recap for March 19 - 22

2012-03-23 Thread Mark Phillips
Afternoon, Evening, Morning to All - Nice Recap to take everyone into the weekend: talks, blog posts, and more. Enjoy. As usual, thanks for being a part of Riak. Mark Community Manager Basho Technologies wiki.basho.com/Riak.html twitter.com/pharkmillups Ria

Re: Riak Recap for March 19 - 22

2012-03-23 Thread Mark Phillips
Oops. On Fri, Mar 23, 2012 at 3:56 PM, Mark Phillips wrote: > > > 4) Some new Riak content is up on StackOverflow: > > * Riak special chars in keys ---> > http://stackoverflow.com/questions/9789813/riak-special-chars-in-keys > * Riak sort on MapReduce ---> > http://stackoverflow.com/questions/97

Re: Riak Recap for March 19 - 22

2012-03-23 Thread Mark Steele
In the statebox presentation, Andy hints that there's statebox like capabilities are slated to be built into Riak. Any timelines on that? Cheers, Mark Steele, CISSP, CSM Bering Media Inc. On Fri, Mar 23, 2012 at 3:56 PM, Mark Phillips wrote: > Afternoon, Evening, Morning to All - > > Nice Rec