Riak Search queries

2014-11-11 Thread Jason Ryan
Hi all, I have some quick (hopefully!) questions around Riak search. 1. I'm getting multiple documents returned in the search results for a query - which I assume is based on the n_val of my bucket as I tried to change the search index to have a n_val of 1 but got an error that it needed to match

Re: Can't set long node name. Ubuntu 14.04

2014-11-11 Thread Ebbinge
Hello Luke, I've come to have new questions about RIAK. I have the 3-node cluster up and running, I have stored some data in the cluster using a Bucket called "Productos". In that bucket, I have stored java objects of a class "Product", which has the following attributes: ID,Name,Description, Price

MapReduce Java RIAK API

2014-11-11 Thread Ebbinge
Hello, I am trying to get the MapReduce to run using my cluster. I have a 3-node cluster[192.168.0.41,192.168.0.42,192.168.0.43] up and running. I am trying with this example: try{ IRiakClient client = RiakFactory.pbcClient("192.168.0.41", 8087); Bucket myBucket = client.

Re: MapReduce Java RIAK API

2014-11-11 Thread Brian Roach
Jackson (the JSON library we use and the thing throwing that error) requires your class to have a no-arg constructor so it can instantiate it via reflection. See: http://stackoverflow.com/questions/7625783/jsonmappingexception-no-suitable-constructor-found-for-type-simple-type-class Thanks, - Ro

Re: MapReduce Java RIAK API

2014-11-11 Thread Ebbinge
Hey Brian, so I added the no-arg constructor, and it seems to work. Now, I don't know why it takes so long running the task... The only thing that shows now is this in the console: run: java.io.IOException: Error receiving outputs: normal Again, I am using this code: try{ IRiakClien

Riak Multiple Versions on RHEL

2014-11-11 Thread Andrew Zeneski
I have a cluster of RHEL 6 test servers currently running 1.4.10. I'd like to install 2.0.2 on these servers along side of 1.4.10, without building from source. I need the ability to switch between both while testing our application with the latest Riak. Both versions do not need to be running at t

Riak API for Java

2014-11-11 Thread Ebbinge
Hello, I am trying to use the MapReduce function that comes along with the Java API. I am using this code: try{ IRiakClient client = RiakFactory.pbcClient("192.168.0.41", 8087); Bucket myBucket = client.fetchBucket("Productos").execute(); //Bucket called Productos