Re: key not found in map reduce

2012-09-30 Thread Venki Yedidha
Hi Mridul, You can use filterNotFound from mapred_builtins.js... usage format in reduce phase: return Riak.filterNotFound(your_object_passed _from_map_phase); Thanks, Venkatesh On Sun, Sep 30, 2012 at 2:59 PM, Mridul Kashatria wrote: > Hi, > > I'm a beginner with Riak and

Re: key not found in map reduce

2012-09-30 Thread Alexander Sicular
Call Riak.filterNotFound in your reduce phase. -alexander On Sun, Sep 30, 2012 at 5:29 AM, Mridul Kashatria wrote: > Hi, > > I'm a beginner with Riak and map-reduce in general. > > I was trying a function in map reduce which sorts the data and returns it. > It works well when all the bucket key

Using Riak as cache layer

2012-09-30 Thread Pavel Kogan
Hi all experts, I want to use Riak for caching and have few questions: 1) How faster is using memory back-end over bitcask back-end (on SSD)? 2) If throughput satisfying, is there any reason to use more than two nodes? 3) When my memory reaches preset limit (lets say 4Gb) what is going to happen

Re: OpenLDAP MDB backend for riak

2012-09-30 Thread Zabrane Mickael
Any volunteer to test EMDB as a new Riak backend: https://github.com/alepharchives/emdb Regards, Zabrane On Sep 30, 2012, at 6:15 PM, Howard Chu wrote: > Kresten Krab Thorup wrote: >> Howard, >> >> I took a look at MDB, and it does look quite promising! >> >> Perhaps you can enlighten us a bit

Re: OpenLDAP MDB backend for riak

2012-09-30 Thread Howard Chu
Kresten Krab Thorup wrote: Howard, I took a look at MDB, and it does look quite promising! Perhaps you can enlighten us a bit on these aspects of MDB: - How do you back up an MDB instance? Can you do that while it is actively updating, or do you need to stop it? I'm asking because the operati

Re: OpenLDAP MDB backend for riak

2012-09-30 Thread Kresten Krab Thorup
Howard, I took a look at MDB, and it does look quite promising! Perhaps you can enlighten us a bit on these aspects of MDB: - How do you back up an MDB instance? Can you do that while it is actively updating, or do you need to stop it? I'm asking because the operational ease of the log-struc

Re: OpenLDAP MDB backend for riak

2012-09-30 Thread Howard Chu
Kresten Krab Thorup wrote: BETS May be a good template for MDB NIFs since the MDB API looks like bdb. It doesn't implement the Riak backend API but an ets subset. https://github.com/krestenkrab/bets Many thanks for all the helpful posts. BETS looks like a good starting point for a generic MD

key not found in map reduce

2012-09-30 Thread Mridul Kashatria
Hi, I'm a beginner with Riak and map-reduce in general. I was trying a function in map reduce which sorts the data and returns it. It works well when all the bucket key pairs in input query exist in the riak cluster. When a bucket/key pair does not exist, it gives an output like below. [{"not_