Riak Recap for January 26 - 29

2012-01-30 Thread Mark Phillips
Afternoon, Evening, Morning to All - For today's Recap: conferences, new code, and more. Enjoy. Mark Community Manager Basho Technologies wiki.basho.com/Riak.html twitter.com/pharkmillups --- Riak Recap for January 26 - 30 === 1) For anyone

Re: efficient fetching of values falling in a key range

2012-01-30 Thread Russell Brown
On 30 Jan 2012, at 20:07, Dietrich Featherston wrote: > Yeah I had something that I thought would work then ran into some assumptions > about handling of the existing bin / int query types. Started to introduce a > higher level Index type that a generic RangeQuery could operate on rather > tha

Re: PBS: Better understanding latency vs. consistency trade-offs in Riak

2012-01-30 Thread Peter Bailis
Dave, Thanks for the follow-up! For PBS, we need four latency distributions. For writes: --Time from write coordinator to replica plus replica write processing time (W): How long does it take from the time the coordinator sends out a write request to the time the replica starts serving that writ

Re: efficient fetching of values falling in a key range

2012-01-30 Thread Dietrich Featherston
Yeah I had something that I thought would work then ran into some assumptions about handling of the existing bin / int query types. Started to introduce a higher level Index type that a generic RangeQuery could operate on rather than playing the combinatorics game with the existing AbstractRangeQue

Re: efficient fetching of values falling in a key range

2012-01-30 Thread Dietrich Featherston
That's perfect thanks. I think I was presuming that the name of the underlying index was $key_bin so this didn't cross my mind. Definitely agree with having a separated typed KeyIndex rather than changing how BinIndex or IntIndex work. Thanks, D On Mon, Jan 30, 2012 at 10:41 AM, Russell Brown wr

Re: efficient fetching of values falling in a key range

2012-01-30 Thread Russell Brown
On 30 Jan 2012, at 18:12, Dietrich Featherston wrote: > I'm using a leveldb-backed riak 1.0.2 and looking for some suggestions to > fetch a block of data by key range. I have control over the keys and all > reads out of this setup will involve at minimum a key range. It seems that if > leveldb

Re: PBS: Better understanding latency vs. consistency trade-offs in Riak

2012-01-30 Thread David Smith
Hi Peter, Thanks for the email re: PBS -- it's quite interesting stuff. On Thu, Jan 19, 2012 at 6:03 PM, Peter Bailis wrote: > > Thus far, in addition to general Dynamo-style replication analysis, we've > developed a patch for Cassandra that performs the required latency profiling > and are inte

efficient fetching of values falling in a key range

2012-01-30 Thread Dietrich Featherston
I'm using a leveldb-backed riak 1.0.2 and looking for some suggestions to fetch a block of data by key range. I have control over the keys and all reads out of this setup will involve at minimum a key range. It seems that if leveldb is an ideal candidate for this kind of access pattern so long as I

Schema recommendations for web page beacons

2012-01-30 Thread Mike M
I'm very new to Riak and key-value stores in general, and was hoping someone might be able to help me figure out the best way to represent my web page beacon data within Riak. For example, I have data that looks roughly like the following JSON: '{"file_name": "19", "uri": "http://foo.com/

Re: RIAK all_nodes_down error

2012-01-30 Thread Marcel Müller
Thanks that was the solution Marcel Am 30.01.2012 um 16:33 schrieb Sean Cribbs: > Marcel, > > It looks like you have a screwed up ring. You have two nodes joining and no > valid nodes, meaning the one owning the original ring is gone (not even just > down, but nonexistent). You probably sta

Re: RIAK all_nodes_down error

2012-01-30 Thread Sean Cribbs
Marcel, It looks like you have a screwed up ring. You have two nodes joining and no valid nodes, meaning the one owning the original ring is gone (not even just down, but nonexistent). You probably started a node, changed its node name in vm.args and then restarted it. Because the ring has already

Re: RIAK all_nodes_down error

2012-01-30 Thread Marcel Müller
hi Sean, [root@prd-uk-ras-002 ~]# riak-admin member_status Attempting to restart script through sudo -u riak = Membership == Status RingPendingNode -

Re: RIAK all_nodes_down error

2012-01-30 Thread Sean Cribbs
Marcel, What is the output of `riak-admin member_status` and `riak-admin ring_status`? On Mon, Jan 30, 2012 at 10:02 AM, Marcel Müller wrote: > Hi, > > i had install riak via rpm -i riak-1.0.3-1.el5.x86_64.rpm. > Start riak without any problems. Cool ! > > When i try to insert something via PUT:

RIAK all_nodes_down error

2012-01-30 Thread Marcel Müller
Hi, i had install riak via rpm -i riak-1.0.3-1.el5.x86_64.rpm. Start riak without any problems. Cool ! When i try to insert something via PUT: [prd-uk-ras-002 ~]# curl -v -X PUT -d 'data1' http://10.10.13.4:8098/buckets/persons/keys/bosse * About to connect() to 10.10.13.4 port 8098 * Try