Riak nodes (potentially) have empty partitions

2012-06-05 Thread Nitish Sharma
Hi, We have Riak cluster running 1.1.2. All the nodes own 6.6% of partitions, still memory usage of "beam" process on some nodes is less than the others (significantly). The number of keys on the nodes consuming less memory is also fewer. Then how come they still own the equal number of partition

Re: bucket level authentication

2012-06-05 Thread Dietrich Featherston
Suggest implementing security outside of riak. The interface to applications which use riak for storage should not be riak-dependent. In addition, it would be wise to avoid exposing storage-level details like bucket choice in the security model for your applications. For more details in why ria

Follow-up: Riak / Map, Reduce - error [preflist_exhausted]

2012-06-05 Thread claudef
Dear colleagues, Any idea how to adjust the processing capacity of the Riak JavaScript in the Map / Reduce process to avoid the error [preflist_exhausted] ? Checking the user posts, I also see a similar error report sent at 29/05 by Mr. Sati, Hohit. The Map/Reduce and search capability are i

mochijson2 error from curl mapreduce

2012-06-05 Thread John Roy
I saw something similar from an individual who was using javascript (http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-July/004843.html), but I don't think I have the same problem in erlang. Any help is greatly appreciated. I'm consistently getting the following error from my cu

Re: mochijson2 error from curl mapreduce

2012-06-05 Thread Bob Ippolito
On Tue, Jun 5, 2012 at 1:22 PM, John Roy wrote: > I saw something similar from an individual who was using javascript ( > http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-July/004843.html), > but > I don't think I have the same problem in erlang. Any help is greatly > appreciate

Re: mochijson2 error from curl mapreduce

2012-06-05 Thread John Roy
Excellent -- that helped a great deal. For those who may search in the future the most important thing is to have the output of your final step (a reduce in my case) be a list of {Key :: Binary, Value :: json_term()} as Bob identified below. In a standard map reduce that means the input to th