Re: pagination over 2i indexes in java

2014-02-11 Thread joe dude
Yeah, i looked at your code and it looks very similar to what i'm doing. The difference is i'm just talking to the client directly: StreamingOperation result = rawClient.fetchIndex(query); And rawClient is a "PBClusterClient". Might that have something to do with it? On Tuesday, February 11,

Re: pagination over 2i indexes in java

2014-02-11 Thread Dave Rusek
Joe, Sorry, I wanted to get that email out before I stepped out. The specific test I added is here: https://github.com/basho/riak-java-client/blob/1.4.x-develop/src/test/java/com/basho/riak/client/itest/ITestBucket.java#L280 Does this represent your use case? If not, do you happen to have a fai

Re: pagination over 2i indexes in java

2014-02-11 Thread Dave Rusek
Joe, I added an integration test to the 1.4.x-develop and the 1.4.4 branch of the client and tried them against the latest 1.4 branch of Riak but was not able to reproduce your issue. https://github.com/basho/riak-java-client/tree/1.4.x-develop --  Dave Rusek Software Engineer Basho Technologi

Re: Level-db cluster

2014-02-11 Thread Edgar Veiga
Thanks for replying :) Best regards! On 11 February 2014 23:28, John Daily wrote: > After asking around a bit, I think we're likely to remove that > recommendation from the documentation. > > Tuning is always a bit of a dark art, so as always your mileage may vary, > but there doesn't seem to

Riak Recap for January 24th - February 11th

2014-02-11 Thread John Daily
The Basho technical evangelist team is doing a fair bit of traveling and will be busy with prep work for the epochal Riak 2.0 release, so we're going to target Recap every couple of weeks instead of every week (not that we have always been terribly reliable at publishing it every week...). John

Re: Level-db cluster

2014-02-11 Thread John Daily
After asking around a bit, I think we’re likely to remove that recommendation from the documentation. Tuning is always a bit of a dark art, so as always your mileage may vary, but there doesn’t seem to be any real advantage to lowering the thread count. Thanks for raising the issue. -John On

Python client MR query

2014-02-11 Thread Bryce Verdier
Hey all, I have a MR that I'm doing via http, that I would like to migrate into the python client. The json is: "{ "inputs": "ogir-fp", "query": [ { "map": { "language": "erlang", "module": "mr_kv_counters",

Re: pagination over 2i indexes in java

2014-02-11 Thread joe dude
I'm using 1.4.4, and creating a PBClusterClient. Thanks. On Tuesday, February 11, 2014 11:03 AM, Brian Roach wrote: Hi Joe - What version of the Riak Java client are you using, and which protocol (PB or HTTP)? Will take a look at it. Thanks! - Roach On Tue, Feb 11, 2014 at 11:50 AM, joe

RE: Timeout starting Riak

2014-02-11 Thread Sahil Verma
Hi Sean I’m sure I do not have any Riak processes running. I’m not sure what an ‘Erlang node’ means though, do not know how to troubleshoot Erlang, what the name registry is etc etc Is there anything else I can look at? Is there a way to look at the equivalent of a stacktrace of the processe

Re: pagination over 2i indexes in java

2014-02-11 Thread Brian Roach
Hi Joe - What version of the Riak Java client are you using, and which protocol (PB or HTTP)? Will take a look at it. Thanks! - Roach On Tue, Feb 11, 2014 at 11:50 AM, joe dude wrote: > Hi, trying to figure out how to use the java client to do 2i index queries > with pagination. > > I can issu

pagination over 2i indexes in java

2014-02-11 Thread joe dude
Hi, trying to figure out how to use the java client to do 2i index queries with pagination. I can issue the query with max_results and get back exactly the number that i asked for, but the continuation value in the returned StreamingOperation object is null. In contrast, i get pagination to wo

Re: Java client, querying using domain bucket and 2i

2014-02-11 Thread Brian Roach
Hi Daniel, Honestly, there's no reason other than ... no one ever added it to the class. When we cut the next 1.x releases, I'll add it. Thanks, - Roach On Sat, Feb 8, 2014 at 2:43 PM, Daniel Iwan wrote: > Hi all > Is there a reason there's no 2i querying methods in DomainBucket? > That requir

Re: Timeout starting Riak

2014-02-11 Thread Sean Cribbs
Hi Sahil, Please check that you don't have another Riak or Erlang node running with the same name. The error right in the middle, "{error,duplicate_name}" indicates trying to register a node name that is already registered. On Tue, Feb 11, 2014 at 4:55 AM, Sahil Verma wrote: > Version: 1.4.7-