Re: riak and The Beatles

2010-06-14 Thread Mark Phillips
Hey all, I took a few minutes and threw together a page on the Riak Wiki with some pointers to a few pieces of sample data. Check it out here ---> http://wiki.basho.com/display/RIAK/Sample+Data Admittedly, it's still quite sparse but we are planning on expanding it. Definitely send along any poi

rolling upgrade from 0.10 to 0.11

2010-06-14 Thread Gareth Stokes
so im performing a rolling upgrade from 0.10 to 0.11 and have found a problem with the transition document found here http://hg.basho.com/riak/raw/efc290fd9c23/TRANSITION long story short, section 1.2.2 says i need to run "riak-admin leave" but this is not an option for me. the release notes for 0

Re: riak version

2010-06-14 Thread Gareth Stokes
Awesome Thanks Dan, Thought I was going crazy for a second there :) On 15 June 2010 11:53, Dan Reverri wrote: > Hi Gareth, > > You can use application:get_key/2 to see the version after attaching to > your riak node: > > ./rel/riak/bin/riak attach > Attaching to /tmp//tmp/riak/rel/riak/erlang.pi

Re: riak-java-client

2010-06-14 Thread Dan Reverri
Hi Simon, Just realized your question was specific to the Java client. I don't see a way to provide the "arg" property in the Java client. I've filed a bug for this issue: http://issues.basho.com/show_bug.cgi?id=257 Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@bash

Re: riak-java-client

2010-06-14 Thread Dan Reverri
Hi Simon, Static arguments can be passed to MapReduce queries using the "arg" property. Here is an example query that runs over all the keys in the bucket "bucket": { "inputs": "bucket", "query": [ { "map": { "language": "javascript", "so

Re: riak version

2010-06-14 Thread Dan Reverri
Hi Gareth, You can use application:get_key/2 to see the version after attaching to your riak node: ./rel/riak/bin/riak attach Attaching to /tmp//tmp/riak/rel/riak/erlang.pipe.1 (^D to exit) (r...@127.0.0.1)5> application:get_key(riak_kv,vsn). {ok,"0.11.0"} (r...@127.0.0.1)6> application:get_key(

riak-java-client

2010-06-14 Thread Simon Cusack
Hi all, I hope this is the right place to ask this. I have been playing with the riak-java-client via clojure which has been great. However I cant find a way to pass static args using MapReduceBuilder. My javascript map function is like this; function(value, keyData, arg){ if (some_predicate(

riak version

2010-06-14 Thread Gareth Stokes
hey riakers, whats the best way of checking the version for riak. if i type "riak-admin status" then i get the erlang otp version but not riaks... cheers, gareth stokes ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailma

Re: [ANN] Riak Release 0.11.0

2010-06-14 Thread Alan McConnell
Justin, Thanks a ton for the quick response, that makes perfect sense. It also explains why I've only seen this behavior in our test environment. It may make sense to note this info in the "Replication" node of the wiki, perhaps in the "What does N=3 really mean?" section (there's an example of a

Re: Riak Recap for 6/10 - 6/13

2010-06-14 Thread Joel Pitt
On Tue, Jun 15, 2010 at 7:01 AM, Mark Phillips wrote: > 6) argv0 and johne had a long and content-packed conversation about > Bitcask, Innostore and file limits. This one is not to be missd. > > Check it out here ---> http://gist.github.com/438065 This talks about how all keys and some metadata a

Re: [ANN] Riak Release 0.11.0

2010-06-14 Thread Justin Sheehy
Hi, Alan. Your replicas do in fact exist on both nodes. However, I understand that the situation you are observing is confusing. I will attempt to explain. Quite some time ago, something surprising was noticed by some of our users during their pre-production testing. Some intentional failure s

Riak Recap for 6/10 - 6/13

2010-06-14 Thread Mark Phillips
Afternoon, Evening, Morning to all - I guess I should know better than to wait four days to do a Recap... Needless to say, lots of awesome stuff to relay today. Enjoy, Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups Riak Recap for 6/10 - 6/13 1) seancribbs

Re: [ANN] Riak Release 0.11.0

2010-06-14 Thread Alan McConnell
Hey Dan, I have a 2-node cluster with default bucket settings (N=3, etc.), and if I take one of the boxes down (and perform reads with R=1) I get tons of "key not found" errors for keys I know exist in the cluster. Seems like for many keys, all 3 replicas live on one host. From what you've writte

Re: [ANN] Riak Release 0.11.0

2010-06-14 Thread Dan Reverri
Hi Jason, Thanks for the feedback; I'll be pushing changes to the Replication article soon (hopefully by this evening). Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Mon, Jun 14, 2010 at 10:16 AM, Jason J. W. Williams < jasonjwwilli...@gmail.com> wrot

Re: [ANN] Riak Release 0.11.0

2010-06-14 Thread Jason J. W. Williams
Hi Daniel, Thank you for clearing that up (and filing the rack-aware case). Y'all might want to add your clarification to https://wiki.basho.com/display/RIAK/Replication (So what does N=3 really mean?). That page makes it sound like there's no guarantees of separation at all, whereas I understand