build Riak 2 Java client (on windows)

2013-12-11 Thread Shimon Benattar
Hi Riak users, I want to start checking out Riak 2 and for that I need the new Java client I downloaded it from Git but it will not build. It seems to be missing a few dependencies (One of them was protobuf which I actually downloaded and built but it did not sync) Is there anywhere I can downlo

high availability using riak Java client

2013-12-09 Thread Shimon Benattar
Hi Riak users, we are using the Riak Java client and need to support high availability Currently I am connection the pbc to a specific node in our cluster, I would like to pass a list of IP's so that in case the connect fails on one we will try the operation again on the other node (Also that wa

Timeout on Streaming all keys

2013-11-28 Thread Shimon Benattar
Hi Riak users, Unfortunately for me I need to implement the get all keys method in our system (I know it is not recommended) I am developing classes with the Java Api and using the streaming option as following StreamingOperation keys = riakBucket.keys(); while (keys.hasNext()) { final S

Riak secondary indices with Java Api

2013-11-25 Thread Shimon Benattar
Hi, Riak users, I am trying to index my data with the Java API I saw on the basho site (http://basho.com/index-for-fun-and-for-profit/) the following code, The first part of creating the index works fine. My problem here is that under riakClient I do not have any mothod called fetchIndex.