conditional gets from java client?

2012-03-13 Thread Sam Perman
Hello I'm just starting my exploration of riak and was wondering if it is possible to use the java client to issue a conditional get based on etag ( If-None-Match ). If so, can I do it with the http client or do I need to drop down a level to the raw client? thanks sam __

Re: preflist_exhausted with map-reduce and riak-js

2012-03-13 Thread Matthew Tovbin
Here is a log from one of the servers: ==> /mnt/dataraid/log/crash.log <== 2012-03-13 18:24:44 =CRASH REPORT crasher: initial call: riak_pipe_builder:init/1 pid: <0.20949.24> registered_name: [] exception exit: {sink_died,shutdown} in function gen_fsm:terminate/7

Re: preflist_exhausted with map-reduce and riak-js

2012-03-13 Thread Matthew Tovbin
Hi, I got the same problem today on 1.1.0. As suggested, I updated all the nodes to 1.1.1. The error remains the same: { stack: [Getter/Setter], arguments: undefined, type: undefined, message: 'HTTP error 500: {"phase":0,"error":"[preflist_exhausted]","input":"{ok,{r_object ."}}} -Ma

Re: Can't find docs/tutorial on secondary indexes for riak-erlang-client

2012-03-13 Thread Mark Phillips
On Sun, Mar 11, 2012 at 10:47 PM, Buri Arslon wrote: > No problem, Mark. I've submitted a new > issue. https://github.com/basho/riak_wiki/issues/265 > > By the way, thanks for the awesome Riak! Perfect. Thanks for putting that together. Cc'ing the list in case anyone wants to add something. Mark

Re: Can't find docs/tutorial on secondary indexes for riak-erlang-client

2012-03-13 Thread Daniil Churikov
But now i got stuck wtih how to give this keys as input to map phase? -- View this message in context: http://riak-users.197444.n3.nabble.com/Can-t-find-docs-tutorial-on-secondary-indexes-for-riak-erlang-client-tp3817052p3822853.html Sent from the Riak Users mailing list archive at Nabble.com. _

Re: Slow performance on getting via 2i

2012-03-13 Thread Russell Brown
Hi Daniel, Sorry for the slow reply. On 12 Mar 2012, at 11:36, ivenhov wrote: > Excuse my doubel-posting and replying to my own thread. > I found this in PBClientAdapter class in fetchIndex method > >final MapReduce mr = new IndexMapReduce(this, indexQuery); > >mr.addReducePhase

Re: preflist_exhausted with map-reduce and riak-js

2012-03-13 Thread Jon Meredith
Hi Arne, Could you try with 1.1.1 please. We've fixed a number of bugs with how MapReduce handles errors that could explain some of what you are seeing. Jon On Tue, Mar 13, 2012 at 12:55 AM, Arne Claassen wrote: > I'm running 1.1.0 built from source on Centos 6. I set up two nodes on > localho