Re: Change Riak temp folder location

2012-01-11 Thread Jeremy Raymond
I've logged an enhancement request for the ability to configure or override the location of the temp folder to make it possible to run multiple Riak instances as different users. Provide a way to configure location of Riak temp folder: https://issues.basho.com/show_bug.cgi?id=1320 -- Jeremy On

Re: Absolute consistency

2012-01-11 Thread Ian Plosker
Les, In Riak, there is no single primary copy considered the canonical version. For each key, there will be N (3 by default) partitions responsible for storing the associated value. In effect, there are N primaries for any key. This is how Riak makes its availability guarantees, as well as why

Re: Absolute consistency

2012-01-11 Thread Vishal Shah
To add to Ian's comment, for me personally, this specific characteristic is in fact a very important distinguishing feature of Riak vs other scalable KV systems. To me, this is what separates My understanding is that Riak borrows this from Dynamo which talks about "decentralization" - master n

Inequality support in Riak Secondary indexes

2012-01-11 Thread Sreejith K
Hi everyone, Its was a great news to know about Riak's support for secondary indexes. That was a great work indeed! AFAIK, one will be able to index equality queries (property:value) and range queries (property:[red TO rum]) as described in Riak website. But I have some queries with inequality op

Stats for MR jobs and Riak Search

2012-01-11 Thread Elias Levy
Hi folks, Riak provides pretty good stats for the KV functionality. Allow me to throw in a vote for the same level of stats for the MR, 2i, and Riak Search components. We really have no visibility into those aspects of Riak, other than what we can collect externally. Cheers, Elias

Re: Absolute consistency

2012-01-11 Thread Les Mikesell
On Wed, Jan 11, 2012 at 10:39 AM, Ian Plosker wrote: > Les, > > In Riak, there is no single primary copy considered the canonical version. > For each key, there will be N (3 by default) partitions responsible for > storing the associated value. In effect, there are N primaries for any key. > This

Re: Absolute consistency

2012-01-11 Thread Les Mikesell
On Wed, Jan 11, 2012 at 10:56 AM, Vishal Shah wrote: > To add to Ian's comment, for me personally, this specific characteristic is > in fact a very important distinguishing feature of Riak vs other scalable KV > systems. To me, this is what separates Yes, but it makes it unusable for anything tha

Riak Recap for January 6 - 10

2012-01-11 Thread Mark Phillips
Morning, Afternoon, Evening to All - For today's Recap: Blog posts, t shirts, and more. Enjoy Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups --- Riak Recap for January 6 - 10 == 1) Q - How can I check which

Re: Riak Recap for January 6 - 10

2012-01-11 Thread Andrew Thompson
On Wed, Jan 11, 2012 at 10:07:57AM -0800, Mark Phillips wrote: > 1) Q - How can I check which version of Riak I'm running? > > A - > http://serverfault.com/questions/348530/how-can-i-check-which-version-of-riak-i-am-running Newer riak packages also include the 'riak version' command: riak

Re: Inequality support in Riak Secondary indexes

2012-01-11 Thread Sean Cribbs
Sreejith, Some queries that include less-than/greater-than can also be expressed as ranges. Your example is simple because someone's age cannot be < 0, so age < 28 is equivalent 0 <= age <= 27, that is, age ranging from 0 to 27. Yes, currently 2i only works with LevelDB. Theoretically other backe

Re: Riak dynamic cluster HOWTO

2012-01-11 Thread Mark Phillips
Hey Jeff, Sadly I'm just now getting around to working my way through this guide on account of the post-holiday catchup game... Firstly, great job on this. This clearly wasn't a small undertaking. Thanks for taking the time to write and publish it. One piece of initial feedback - On the first page

Re: Riak dynamic cluster HOWTO

2012-01-11 Thread Jeffrey Eliasen
Yeah, that goal changed over time and I forgot to update the front page. I realized I didn't have enough resources to handle the overhead of that many machines (open file handles, RAM resources, etc) and reduced my expectation to about 10 machines, with a more realistic probability of 5-6. In this

Re: Riak dynamic cluster HOWTO

2012-01-11 Thread Mark Phillips
Hey Jeff, Sadly I'm just now getting around to working my way through this guide on account of the post-holiday catchup game... Firstly, great job on this. This clearly wasn't a small undertaking. Thanks for taking the time to write and publish it. One piece of initial feedback - On the first page

TypeError: Unicode bucket name are not supported

2012-01-11 Thread Julio Cesar Ríos Gutierrez
I have this code but this has a Error: TypeError: Unicode bucket name are not supported, Why happen this? import csv import json import riak client = riak.RiakClient ( ) search_query = client.search ( 'medicinas','descripcion:A' ) for result in search_query.run ( ): clave = result.get ( )

Re: Riak dynamic cluster HOWTO

2012-01-11 Thread Mark Phillips
Hey Jeff, Sadly I'm just now getting around to working my way through this guide on account of the post-holiday catchup game... Firstly, great job on this. This clearly wasn't a small undertaking. Thanks for taking the time to write and publish it. One piece of initial feedback - On the first page

Re: TypeError: Unicode bucket name are not supported

2012-01-11 Thread Reid Draper
Julio, The Python client currently doesn't support non-ascii bucket names. This deficit is being tracked in these two bugs [1][2]. [1]: https://github.com/basho/riak-python-client/issues/32 [2]: https://issues.basho.com/show_bug.cgi?id=649 On Jan 11, 2012, at 4:26 PM, Julio Cesar Ríos Gutierrez

[ANN] Ruby client/Ripple repository moves

2012-01-11 Thread Sean Cribbs
Hey riak-users, I know many of you use the Ruby client in your applications and so I wanted to warn you of the following changes: In an effort to demonstrate that it is the canonical, supported Riak client for Ruby, I have moved the code for the "riak-client" gem into the "basho/riak-ruby-client"

Re: Absolute consistency

2012-01-11 Thread Joseph Blomstedt
If ElasticSearch is a better fit, then using ElasticSearch is the right thing to do. The whole "NoSQL movement" is really about choice. At scale there will never be a single solution that is best for everyone. Riak is intentionally focused on high availability, reliability, and fault-tolerance. If

Re: Inequality support in Riak Secondary indexes

2012-01-11 Thread Sreejith K
Hi Sean, Thanks for your reply. I also had this idea of using range queries. The only catch here is finding the minimum and maximum ranges for the query (if the property is not "age"). Thanks for sharing your idea using ranges. I will proceed with this. -- Regards, Sreejith K On Wed, Jan 11, 2

Re: Absolute consistency

2012-01-11 Thread Les Mikesell
On Wed, Jan 11, 2012 at 9:14 PM, Joseph Blomstedt wrote: > > Some thoughts to ponder: > > 1. Do you allow multiple clients to write to Riak at the same time? > With concurrent writers, "atomic" can mean multiple things. Do you > want linearizability? Do you want one writer to fail? In our particu