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-1.el6
>
>
>
> riak start times out after 15 seconds. I can get the same version of riak
> to start on another server, but not this one. I do make sure no riak
> processes are running before doing riak start, so there shouldn’t be a port
> number conflict.
>
>
>
> Anything else I can look at for finding the root cause?
>
>
>
> riak console output is:
>
>
>
> config is OK
>
> Exec: /usr/lib64/riak/erts-5.9.1/bin/erlexec -boot
> /usr/lib64/riak/releases/1.4.7/riak  -config
> /etc/riak/app.config -pa
> /usr/lib64/riak/lib/basho-patches -args_file /etc/riak/vm.args
>
> -- console
>
> Root: /usr/lib64/riak
>
> {error_logger,{{2014,2,10},{19,43,19}},"Protocol: ~p: register error:
> ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1,[{file,"inet_tcp_dist.erl"},{line,70}]},{net_kernel,start_protos,4,[{fil
>
>
> e,"net_kernel.erl"},{line,1314}]},{net_kernel,start_protos,3,[{file,"net_kernel.erl"},{line,1307}]},{net_kernel,init_node,2,[{file,"net_kernel.erl"},{line,1197}]},{net_kernel,init,1,[{file,"net_kernel.erl"},{line,357}]},
>
>
> {gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}]}
>
>
> {error_logger,{{2014,2,10},{19,43,19}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},
>
>
> {line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.205>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{st
>
> atus,running},{heap_size,610},{stack_size,24},{reductions,508}],[]]}
>
>
> {error_logger,{{2014,2,10},{19,43,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_li
>
> nk,[['riak@10.116.52.49
> ',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
>
>
> {error_logger,{{2014,2,10},{19,43,20}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{
>
> restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
>
>
> {error_logger,{{2014,2,10},{19,43,20}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
>
> {"Kernel pid
> terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
>
>
>
> Crash dump was written to: /var/log/riak/erl_crash.dump
>
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>
>
>
>
>
> Thanks
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
Sean Cribbs 
Software Engineer
Basho Technologies, Inc.
http://basho.com/
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 requires to keep both Bucket and DomainBucket references which makes it
> a bit awkward when passing those around.
>
> Thanks
> Daniel
>
>
>
> --
> View this message in context: 
> http://riak-users.197444.n3.nabble.com/Java-client-querying-using-domain-bucket-and-2i-tp4030476.html
> Sent from the Riak Users mailing list archive at Nabble.com.
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 work just fine using the examples from: 
http://docs.basho.com/riak/latest/dev/using/2i/

I'm using:

public StreamingOperation fetchIndex(IndexSpec indexSpec) throws 
IOException

It's as if i'm missing something when building IndexSpec, but not sure what.
Thx.___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 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 work just fine using the examples from:
> http://docs.basho.com/riak/latest/dev/using/2i/
>
> I'm using:
>
> public StreamingOperation fetchIndex(IndexSpec indexSpec)
>   throws IOException
>
>
> It's as if i'm missing something when building IndexSpec, but not sure what.
>
> Thx.
>
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 processes during startup? What log file can give me more 
info?


I’m guessing this has to be something really simple, because as I mentioned 
previously – the same riak version startsup on another server just fine.


Thank you

From: Sean Cribbs [mailto:s...@basho.com]
Sent: Tuesday, February 11, 2014 7:36 AM
To: Sahil Verma
Cc: riak-users@lists.basho.com
Subject: Re: Timeout starting Riak

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 
mailto:sahil.ve...@ericsson.com>> wrote:
Version: 1.4.7-1.el6

riak start times out after 15 seconds. I can get the same version of riak to 
start on another server, but not this one. I do make sure no riak processes are 
running before doing riak start, so there shouldn’t be a port number conflict.

Anything else I can look at for finding the root cause?

riak console output is:

config is OK
Exec: /usr/lib64/riak/erts-5.9.1/bin/erlexec -boot 
/usr/lib64/riak/releases/1.4.7/riak  -config /etc/riak/app.config   
  -pa /usr/lib64/riak/lib/basho-patches -args_file 
/etc/riak/vm.args
-- console
Root: /usr/lib64/riak
{error_logger,{{2014,2,10},{19,43,19}},"Protocol: ~p: register error: 
~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1,[{file,"inet_tcp_dist.erl"},{line,70}]},{net_kernel,start_protos,4,[{fil
e,"net_kernel.erl"},{line,1314}]},{net_kernel,start_protos,3,[{file,"net_kernel.erl"},{line,1307}]},{net_kernel,init_node,2,[{file,"net_kernel.erl"},{line,1197}]},{net_kernel,init,1,[{file,"net_kernel.erl"},{line,357}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}]}
{error_logger,{{2014,2,10},{19,43,19}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},
{line,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.205>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{st
atus,running},{heap_size,610},{stack_size,24},{reductions,508}],[]]}
{error_logger,{{2014,2,10},{19,43,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_li
nk,[['riak@10.116.52.49',longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2014,2,10},{19,43,20}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{
restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2014,2,10},{19,43,20}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid 
terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}

Crash dump was written to: /var/log/riak/erl_crash.dump
Kernel pid terminated (application_controller) 
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})


Thanks

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



--
Sean Cribbs mailto:s...@basho.com>>
Software Engineer
Basho Technologies, Inc.
http://basho.com/
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 dude  wrote:
> 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 work just fine using the examples from:
> http://docs.basho.com/riak/latest/dev/using/2i/
>
> I'm using:
>
> public StreamingOperation fetchIndex(IndexSpec indexSpec)
>                                           throws IOException
>
>
> It's as if i'm missing something when building IndexSpec, but not sure what.
>
> Thx.
>
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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",
"function": "valueWithArg",
"arg": "ogir-api"
}
}, ]
}"

I'm having a very hard time finding the documentation to translate this 
into the python-riak-client.mapred function. Any and all help would be 
greatly appreiciated.


Warm regards,
Bryce

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 Feb 3, 2014, at 10:51 AM, Edgar Veiga  wrote:

> Hi all,
> 
> I have a 6 machines cluster with a ring of 256 nodes with levelDB as backend.
> 
> I've seen that recently in the documentation, this has appeared:
> If using LevelDB as the storage backend (which maintains its own I/O thread 
> pool), the number of async threads in Riak's default pool can be decreased in 
> the /etc/riak/vm.args file.
> 
> How much is this relevant regarding the overall cluster performance? Right 
> now I've the defaul 64 threads.
> Best regards.
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 Daily
twitter.com/macintux
---


Riak Recap for January 24th - February 11th
===

Riak CS 1.4.4 (bugfixes only) was released.
- 
http://lists.basho.com/pipermail/riak-users_lists.basho.com/2014-February/014599.html
- http://docs.basho.com/riakcs/latest/cookbooks/Riak-CS-Release-Notes/
- http://docs.basho.com/riakcs/latest/riakcs-downloads/

The team at GoGrid wrote a blog post that walks you through building a Riak 
Cluster in 5 minutes. 
- 
http://blog.gogrid.com/2014/01/31/how-to-deploy-a-riak-cluster-in-5-minutes-on-gogrid/

Seth Thomas hosted Riak Community Hangout #009, with Luc Perkins and Eric 
Redmond discussing Basho's documentation efforts.
- http://youtu.be/NH-n8JrwNJ8

Kiyota Tamura wrote a guest Basho blog post regarding Fluentd's use of Riak.
- http://basho.com/fluentd-loves-riak/

Tom Santero and the Basho team tackled the eternal question: what are 
advantages of Riak over Cassandra?
- http://basho.com/riak-vs-cassandra/

You too can participate in a Basho meme. Grab a databass t-shirt!
- http://teespring.com/databass2

Tom Santero talked to NYLUG about Riak (wearing an older version of said 
databass t-shirt).
- http://basho.com/basho-at-nylug/

Wherein Christopher Biscardi shares some of his first steps toward a Riak 
Search client for Haskell.
- 
http://www.christopherbiscardi.com/2014/02/01/in-search-of-a-riak-solr-client-for-haskell/


___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 be any real advantage to lowering the thread
> count.
>
> Thanks for raising the issue.
>
> -John
>
>
> On Feb 3, 2014, at 10:51 AM, Edgar Veiga  wrote:
>
> Hi all,
>
> I have a 6 machines cluster with a ring of 256 nodes with levelDB as
> backend.
>
> I've seen that recently in the documentation, this has appeared:
>
> If using LevelDB as the storage backend (which maintains its own I/O
> thread pool), the number of async threads in Riak's default pool can be
> decreased in the /etc/riak/vm.args file.
>
> How much is this relevant regarding the overall cluster performance? Right
> now I've the defaul 64 threads.
>
> Best regards.
>  ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 Technologies
@davidjrusek

On February 11, 2014 at 5:21:11 PM, Brian Roach (ro...@basho.com) wrote:

-- Forwarded message --  
From: joe dude   
Date: Tue, Feb 11, 2014 at 2:15 PM  
Subject: Re: pagination over 2i indexes in java  
To: Brian Roach   
Cc: "riak-users@lists.basho.com"   


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 dude  wrote:  
> 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 work just fine using the examples from:  
> http://docs.basho.com/riak/latest/dev/using/2i/  
>  
> I'm using:  
>  
> public StreamingOperation fetchIndex(IndexSpec indexSpec)  
> throws IOException  
>  
>  
> It's as if i'm missing something when building IndexSpec, but not sure what.  
>  
> Thx.  
>  
>  
> ___  
> riak-users mailing list  
> riak-users@lists.basho.com  
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com  
>  
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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 failing test 
I could take a look at? 

Thanks!

-- 
Dave Rusek
Software Engineer
Basho Technologies
@davidjrusek

On February 11, 2014 at 5:33:57 PM, Dave Rusek (dru...@basho.com) wrote:

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 Technologies
@davidjrusek

On February 11, 2014 at 5:21:11 PM, Brian Roach (ro...@basho.com) wrote:

-- Forwarded message --
From: joe dude 
Date: Tue, Feb 11, 2014 at 2:15 PM
Subject: Re: pagination over 2i indexes in java
To: Brian Roach 
Cc: "riak-users@lists.basho.com" 


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 dude  wrote:
> 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 work just fine using the examples from:
> http://docs.basho.com/riak/latest/dev/using/2i/
>
> I'm using:
>
> public StreamingOperation fetchIndex(IndexSpec indexSpec)
> throws IOException
>
>
> It's as if i'm missing something when building IndexSpec, but not sure what.
>
> Thx.
>
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


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, 2014 5:00 PM, Dave Rusek  wrote:
 
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 failing test 
I could take a look at? 

Thanks!

-- 
Dave Rusek
Software Engineer
Basho Technologies
@davidjrusek

On February 11, 2014 at 5:33:57 PM, Dave Rusek (dru...@basho.com) wrote:
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 Technologies
@davidjrusek

On February 11, 2014 at 5:21:11 PM, Brian
Roach (ro...@basho.com)
wrote:
-- Forwarded message --
>From: joe dude 
>Date: Tue, Feb 11, 2014 at 2:15 PM
>Subject: Re: pagination over 2i indexes in java
>To: Brian Roach 
>Cc: "riak-users@lists.basho.com"

>
>
>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 dude
 wrote:
>> 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 work just fine using the
examples from:
>> http://docs.basho.com/riak/latest/dev/using/2i/
>>
>> I'm using:
>>
>> public StreamingOperation
fetchIndex(IndexSpec indexSpec)
>> throws IOException
>>
>>
>> It's as if i'm missing something when building IndexSpec, but
not sure what.
>>
>> Thx.
>>
>>
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com
>>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com