application_start_failure,wriaki,{{{badmatch,{error,econnrefused}

2011-10-05 Thread Norman Khine
hello, i am trying to run the Wriaki wiki, but get this crash: my riak cluster is up and running: http://pastie.org/2648028 Here is my procedure... aqoon:riak khinester$ cd ~/Sandboxes/riak aqoon:riak khinester$ git log commit d5d3cbbf9c036c144ae57797cf45742120b3080a Merge: 1ca939d bf28217 Aut

Riak Recap for October 3 - 4

2011-10-05 Thread Mark Phillips
Evening, Morning, Afternoon to All - Short Recap for today: a blog post, new meetup, and more. Sent from my MacBook Pro to yours, or your iPhone, or your iPad, or your iPod touch. RIP Steve. Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups --

Re: Need help with Mapreduce

2011-10-05 Thread Aphyr
Like it says, the request that you submitted isn't JSON. MR functions belong in the source attribute of the JSON document, not floating outside it. --Kyle On 10/05/2011 05:19 PM, urvi wrote: I am trying to use this fuctntion to get the highest number from given date. My map is working fine bu

Need help with Mapreduce

2011-10-05 Thread urvi
I am  trying to use this fuctntion to get the highest number from given date. My map is working fine but reduce function is giving me error. Please help me  curl -X POST http://x:8098/mapred -H "Content-Type: application/json" -d @- function(value, keyData, arg){   var data = Riak.map.

Riak Python Client Adding Links Key Issues

2011-10-05 Thread idmartin
Some of the vars in this script are generated before this point but are valid and working properly. # get user data u = riak.RiakClient.bucket('user').get(uid) # retrieve string data. s = riak.RiakClient.bucket('stri

Has the result failure scenarios documented in wiki changed in 1.0

2011-10-05 Thread Eric Moritz
I was reading through this documentation after a colleague mentioned getting not_found while stopping and starting nodes to mimic failures. His experience corresponds with the behaviors described on this wiki page: http://wiki.basho.com/Eventual-Consistency.html#Failure-Scenarios However, when I

Re: empty sibling after a DELETE then PUT

2011-10-05 Thread Eric Moritz
What I am trying to model is a concurrent DELETE and a concurrent PUT where both operations use the same source VClock. When I do a GET after those concurrent operations is an object with two siblings; One blank and one with the data. Is the reconciliation of those two values, the responsibility

Re: empty sibling after a DELETE then PUT

2011-10-05 Thread Jon Meredith
Hi Eric, What you are seeing is probably a result of some changes we've made to deletes. After you issue the DELETE, Riak creates a tombstone object first and then removes it. 1.0 now adds a delay of 3s by default. If you do a get during that time you should see an X-Riak-Vclock line for the 40

empty sibling after a DELETE then PUT

2011-10-05 Thread Eric Moritz
If I enabled allow_multi on a bucket and do I DELETE followed by a PUT I am getting a 300 response with one sibling having the body of the PUT and a second sibling with an empty body. If that the expected behavior? I wrote a script that would start with a reconciled value. Get the VClock of the

Riak Search 1.0 Bug - Inline Fields

2011-10-05 Thread Greg Pascale
Hi, I have uncovered what I think has to be a bug with inline field searches in Riak 1.0. In short, it seems that there are issues when including a field in both the query and filter query. I have a query in production that used to work with 14.2 but no longer does with 1.0. I dove into the

2i performance tuning

2011-10-05 Thread jbsmith_dba
Can you offer any guidance, for configuration settings, to ensure good performance when querying secondary indexes? What expectations, for query result response times, should users have in some typical scenarios? ___ riak-users mailing list riak-users

Re: Secondary Index ??

2011-10-05 Thread Mark Phillips
On Oct 5, 2011, at 6:52 AM, Jeremiah Peschka wrote: > You can fork the wiki and then send a pull request if you have ideas to send > back in. Specifically start here: https://github.com/basho/riak_wiki We'll work on making that "Fork Me" link a bit more visible. Mark. > --- > Jeremiah Pe

Re: Secondary Index ??

2011-10-05 Thread Roland Karlsson
Thanx - now it works! Your explanations were very good. I also found I had to change from bitcask to eleveldb. I added one object with the same index and then I got the answer {ok, [[<<"persons">>,<<"kenny">>],[<<"persons">>,<<"bosse">>]]} Hmmm ... why is it a list in a list? /Roland

Re: Secondary Index ??

2011-10-05 Thread Jeremiah Peschka
You can fork the wiki and then send a pull request if you have ideas to send back in. --- Jeremiah Peschka - Founder, Brent Ozar PLF, LLC Microsoft SQL Server MVP On Oct 5, 2011, at 6:44 AM, Fyodor Yarochkin wrote: >> >>>IndexKey = <<"sumatra">>, >>>riakc_pb_socket:get_index(Pid, Bucket

Re: Secondary Index ??

2011-10-05 Thread Fyodor Yarochkin
> >>    IndexKey = <<"sumatra">>, >>    riakc_pb_socket:get_index(Pid, Bucket, Index, IndexKey). >> -- > > Do _all_ that and I get {ok,[[<<"persons">>,<<"bosse">>]]} as the output from > get_index. > > We'll get those docs updated. While on

Re: Secondary Index ??

2011-10-05 Thread Russell Brown
On 5 Oct 2011, at 13:45, Roland Karlsson wrote: > Hi, > > I might not look hard enough - but I cannot find how to use > the secondary indices from the riakc erlang client interface. > No example and no manual. Ooops, we'll get on that. > > I need a simple example how to write an indexed objec

Secondary Index ??

2011-10-05 Thread Roland Karlsson
Hi, I might not look hard enough - but I cannot find how to use the secondary indices from the riakc erlang client interface. No example and no manual. I need a simple example how to write an indexed object and also a simple example how to look it up via the index. This is my own try to write an

Concurrent writes when allow_mult = false?

2011-10-05 Thread Tuure Laurinolli
Hello, The document at http://wiki.basho.com/Vector-Clocks.html describes behaviour of Riak when allow_mult is true and when allow_mult is false but last_write_wins is true. However, I can't find any description of what happens when both allow_mult and last_write_wins are false and concurrent w