Re: Riak store in Apache Gora

2012-01-24 Thread Lewis John Mcgibbney
Hi Jared, Sorry for the confusion, the Java client you highlight is the Riak client I meant to originally refer to, I clumsily dropped in the javascript one for some reason! I also think it is something which would both communities with benefits for persisting and accessing data within Riak. I t

riak sizing considerations

2012-01-24 Thread Sebastian Gerlach
Dear Riak-Users, we consider to save a large amount (5000) of binary Data (Images) in a riak cluster. Each image has a size of 648 KB. We want to store 3 copy's of each image. In this case i need to store 5000 * 648 KB * 3 = 90.5 TB Data. This calculation didn't include any overhead for

How to write a record with no key

2012-01-24 Thread Carl
I am trying to write a record with Riak supplying the key.  According to the information at http://wiki.basho.com/HTTP-Store-Object.html the following should work: curl -X POST -d "foo" -H "Content-Type: text/plain" http://host:port/buckets/mybk

Re: How to write a record with no key

2012-01-24 Thread Dan Reverri
Hi Carl, The URL on the Wiki is incorrect. It should be: http://host:port/buckets/mybkt/keys I will make sure the Wiki is updated. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Tue, Jan 24, 2012 at 7:12 AM, Carl wrote: > I am trying to write a rec

Re: Connection Pooling with the python-riak-client

2012-01-24 Thread Michael Clemmons
Greg, Your amazing thanks. In my application its failing on the start of the application, I do not believe while trying to do a request but its possible let me grok and get back to you with some trace backs. As far as Im aware to define more than one hostport with the client you still have to hack

Re: parallelized lookups from erlang interface

2012-01-24 Thread Elias Levy
Do keep in mind that you loose the ability to set an R-value by doing this, and you are essentially requesting an R-value of 1. Not exactly ideal for many applications. On Tue, Jan 24, 2012 at 12:20 AM, wrote: > If you know the keys you're going to be retrieving, you can pass bucket:key > combin

Re: Connection Pooling with the python-riak-client

2012-01-24 Thread Greg Stein
On Tue, Jan 24, 2012 at 12:34, Michael Clemmons wrote: > Greg, > Your amazing thanks.  In my application its failing on the start of the > application, I do not believe while trying to do a request but its possible > let me grok and get back to you with some trace backs. Sounds good. I just looke

how does vnode_vclock work?

2012-01-24 Thread Adam Schepis
Hey all, i'm having trouble articulating for colleagues why using vnode_vclock=true in Riak 1.0 avoids the issues outlined in the Vector Clocks are Hard page. This is probably a sign that i don't understand it well enough myself. My understanding is that requests to a vnode are processed in seria

Re: Connection Pooling with the python-riak-client

2012-01-24 Thread Michael Clemmons
Greg, You were correct, its doing a lookup on initialization(something I'll have to deal with next). Here is a traceback(cut off at app code) when a bad port is used: File "/home/mike/django/riak-python-client/riak/bucket.py", line 260, in get return obj.reload(r) File "/home/mike/django/r

Re: Can't start second node in local machine

2012-01-24 Thread Jim R. Wilson
Hi all, I realize I'm wy late to this thread, but wanted to confirm. Yes, Seven Databases in Seven Weeks[1] does indeed have a Riak chapter. It's the first NoSQL database we discuss actually. As a matter of experimentation, we show how to create a multi-node setup on the same machine, but I

Cant load data after enabling indexing on bucket with precommit hook

2012-01-24 Thread charlesugwuh
I'm using Riak 1.0.2 with the LevelDB Backend. I was trying to use the Search function e.g. curl http://localhost:8098/solr/customers/select?q=first_name:john However, from the online documentation, it says I have to enable indexing for the bucket i.e. curl -X PUT -H "content-type:application/jso

Re: Cant load data after enabling indexing on bucket with precommit hook

2012-01-24 Thread Gordon Tillman
Charles by default search is disabled. Take a look in your app.config file and make sure you have set the following: {riak_search, [ %% To enable Search functionality set this 'true'. {enabled, true} ]}, --gordon On Jan 24, 2012, at 19:18 , char

Re: Cant load data after enabling indexing on bucket with precommit hook

2012-01-24 Thread charlesugwuh
Thanks Gordon, I did just that and restarted Riak, but I'm still getting 503 errors (request timed out) when I try to add data. Not sure what I'm supposed to be doing. I could add data before the pre-commit hook, not sure what the problem is. -- View this message in context: http://riak-users

Re: Changing the Riak Backend and keeping data

2012-01-24 Thread Mark Phillips
On Mon, Jan 23, 2012 at 11:34 PM, Nicholas Young wrote: > Unless something has changed drastically, only LevelDB supports secondary > indexes: http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-September/005839.html > ___ This is true, but

Re: Changing the Riak Backend and keeping data

2012-01-24 Thread Reid Draper
On Jan 24, 2012, at 10:02 PM, Mark Phillips wrote: > On Mon, Jan 23, 2012 at 11:34 PM, Nicholas Young > wrote: >> Unless something has changed drastically, only LevelDB supports secondary >> indexes: >> http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-September/005839.html >> __

Re: Changing the Riak Backend and keeping data

2012-01-24 Thread Mark Phillips
Correct. Thanks for clarifying, Reid. Mark On Wed, Jan 25, 2012 at 5:34 AM, Reid Draper wrote: > > On Jan 24, 2012, at 10:02 PM, Mark Phillips wrote: > >> On Mon, Jan 23, 2012 at 11:34 PM, Nicholas Young >> wrote: >>> Unless something has changed drastically, only LevelDB supports secondary >>>