Re: maximum limit of keys per buckets

2012-01-06 Thread Karthik K
Further, ulimit -n is 10K on the box. # tail -100 /var//log/riak/erlang.log.1 17:26:26.960 [info] alarm_handler: {set,{system_memory_high_watermark,[]}} /usr/lib/riak/lib/os_mon-2.2.6/priv/bin/memsup: Erlang has closed. Erlang has closed 17:26:34.443 [info] alarm_handler: {clear,system_

maximum limit of keys per buckets

2012-01-06 Thread Karthik K
I am using Riak with LevelDB as the storage engine. app.config: {storage_backend, riak_kv_eleveldb_backend}, {eleveldb, [ {data_root, "/var/lib/riak/leveldb"}, {write_buffer_size, 4194304}, %% 4MB in bytes {max_open_files, 50}, %% Maximum number of fil

Riak Recap for January 4 - 5

2012-01-06 Thread Mark Phillips
Evening, Morning, Afternoon to All - For today's Recap: new code, blog posts, press releases, and more. Have a good weekend. Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups --- Riak Recap for January 4 - 5 =

Riak Search Performance: Ranges vs Wildcards

2012-01-06 Thread Elias Levy
I was wondering whether some of the Basho folk may have some wise words about when to choose between ranges and wildcards when using Riak Search. I've noticed in our systems that using wildcards will often give more performant results than using ranges, at least for our data and some of the indexe

Re: Weird (?) error while using riak erlang pb client's mapreduce

2012-01-06 Thread Alin Popa
Hmmm, it seems that I've found why this is happening: http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-February/003127.html This problem was raised before and already solved, sorry for opening it again :) Alin On Fri, Jan 6, 2012 at 9:51 PM, Alin Popa wrote: > Hi Bryan, > > Th

Re: Weird (?) error while using riak erlang pb client's mapreduce

2012-01-06 Thread Alin Popa
Hi Bryan, Thanks, it makes sense, indeed, I've done what you've suggested, to load the code within riak (using add_paths) and everything worked fine. Still, I have a couple dilemas regarding this: 1. Why is not complaining if using escript instead of compiling it as a separate module (and no, I'm

Re: Riak dynamic cluster HOWTO

2012-01-06 Thread Jeffrey Eliasen
I haven't, but that's a good idea. I will get that up in a couple days. jeff On Fri, Jan 6, 2012 at 9:38 AM, Jeff Thompson wrote: > Hey Jeff, (great name!) > > Have you posted the specs for the low cost/power nodes you've built? If > not, would be interested in doing that? (parts, cost, anythin

Re: Riak dynamic cluster HOWTO

2012-01-06 Thread Jeff Thompson
Hey Jeff, (great name!) Have you posted the specs for the low cost/power nodes you've built? If not, would be interested in doing that? (parts, cost, anything interesting) I noticed in your Future Steps section ( http://jeff.jke.net/2011/12/14/future-steps ) that you were looking to add an admini

Re: Get properties of an object

2012-01-06 Thread Ian Plosker
Sam, It is possible to do a HTTP HEAD on an object. This will return all of the response headers that would have been sent with a GET response, including the "Content-Length". -- Ian Plosker Developer Advocate Basho Technologies, Inc. On Friday, January 6, 2012 at 8:13 AM, Sean Cribbs wro

Riak dynamic cluster HOWTO

2012-01-06 Thread Jeffrey Eliasen
I spent the Christmas break setting up a Riak cluster and documenting all the steps. I've got a howto/tutorial set up at http://jeff.jke.net/2011/10/02/setting-nosql-cluster that will walk you through the steps. In particular, I aimed for low cost and low power. Each node in the cluster boots off

Re: Weird (?) error while using riak erlang pb client's mapreduce

2012-01-06 Thread Bryan Fink
On Fri, Jan 6, 2012 at 10:18 AM, Alin Popa wrote: > and this is the code that I'm using for this: > > -module(simple_mapreduce). > > -compile(export_all). > > main(Pid) -> >   {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087), >   Fun = fun(Object, _KeyData, none) -> [Object] end, >   riak

Weird (?) error while using riak erlang pb client's mapreduce

2012-01-06 Thread Alin Popa
Hi guys, I've start using the mapreduce functionality from riak erlang's client (riak-erlang-client) on a riak node (not being part of a cluster) and I keep getting the follwing error in the crash.log file: 2012-01-06 16:43:17 =ERROR REPORT ** State machine <0.1619.0> terminating ** Last even

Re: Absolute consistency

2012-01-06 Thread Thomas Bakketun
On 2012-01-05 22:52, Tim Robinson wrote: > On a side note, it looks like we've completely highjacked the > "Absolute consistency" question initially proposed. Yes, the answers so far doesn't explain the behaviour I have observed. If that particular key would happen to have two of it's primary re

Re: Get properties of an object

2012-01-06 Thread Sean Cribbs
Sam, The location of replicas, for operational and simplicity reasons, is opaque to clients. This may change in the future, but at best it might be informational only, e.g. "talk to this node when using this key". The object size (without metadata) is given in the Content-Length header, naturall

Get properties of an object

2012-01-06 Thread Sam Rudge
Is it possible to get the properties of an object? Specifically what I'm interested in is the nodes of the cluster the object is stored on and the objects size. Is this possible ether with the HTTP API or command line console? ___ riak-users mailing list