Can't set long node name. Ubuntu 14.04

2014-10-29 Thread Ebbinge
Hi, I just finished setting up the riak installation on a Ubuntu 14.04 64 bit Virtual Machine (VMWare Fusion for Mac OSX). After installing all the dependencies, Erlang and all the things needed, the riak.conf file can be found on /etc/riak. That file can be opened and edited using diakonos which a

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

2014-10-29 Thread Ebbinge
Allright, will try to do so. I will let you know asap. -- View this message in context: http://riak-users.197444.n3.nabble.com/Can-t-set-long-node-name-Ubuntu-14-04-tp4031989p4031991.html Sent from the Riak Users mailing list archive at Nabble.com. _

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

2014-10-29 Thread Ebbinge
Hello Luke. Allright, so I completed a clean installation of riak without installing erlang, what I did is that I created a new Virtual Machine and installed riak from apt-get like you said. I edited the /etc/riak/riak.conf file like mentioned before, changing the name to riak@192.168.0.41 which is

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

2014-10-29 Thread Ebbinge
Hello, this is the riak.conf ## Where to emit the default log messages (typically at 'info' ## severity): ## off: disabled ## file: the file specified by log.console.file ## console: to standard output (seen when using `riak attach-direct`) ## both: log.console.file and standard out. ## ## Defaul

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

2014-10-29 Thread Ebbinge
Allright, let me try that out :) -- View this message in context: http://riak-users.197444.n3.nabble.com/Can-t-set-long-node-name-Ubuntu-14-04-tp4031989p4032001.html Sent from the Riak Users mailing list archive at Nabble.com. ___ riak-users mailing

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

2014-10-29 Thread Ebbinge
Hello Luke, I am sorry for some many questions. Commented line for the HTTPS, but, same thing, when trying to start the node it says the following: riak failed to start within 15 seconds, see the output of 'riak console' for more information. If you want to wait longer, set the environment variabl

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

2014-10-29 Thread Ebbinge
Allright, I need to tune up the open files and the system, I'll try that and ask you if I have any questions. -- View this message in context: http://riak-users.197444.n3.nabble.com/Can-t-set-long-node-name-Ubuntu-14-04-tp4031989p4032003.html Sent from the Riak Users mailing list archive at Nab

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

2014-10-29 Thread Ebbinge
What you mentioned about the program listening to the port, it's fun cuz if I leave the default conf it runs the node without a problem at 127.0.0.1 I'll try to do that tomorrow, get some rest, I will too. Thanks for the help, I appreciate it :) -- View this message in context: http://riak-use

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

2014-10-29 Thread Ebbinge
I think it was the port think, It seems that after a while the port was "set free" haha. Next time I riak start, the node is running on 192.168.0.41 :D Allright, I think the configuration steps I have them clear and ready to set another! This is the thing, I am working on a college project, in w

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

2014-10-30 Thread Ebbinge
Hello Luke, I've been reading some documentation and now I have a greater clue. I want to set a 3-node cluster, according to what I read I have to set the target_n_val = 3 and then, from the app that I have to develop, create buckets with an n_val = 3 as well, so data can be replicated on the 3 nod

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

2014-10-30 Thread Ebbinge
Yup. Done :) How can I get the info of the ring Luke? And I have another, so all the replication and fragmentation things, Riak does it by itself? I am sure, I am gonna have more questions along the project, I am sure, hope you don't mind haha. -- View this message in context: http://riak-us

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

2014-10-30 Thread Ebbinge
Allright, up and running, I was talking about this command riak-admin status | grep ring which is how the info about the ring is gotten :) But that's done, and it says It has a size of 16. Thank you so much for your help, If I have any question, I'll use this thread to get to you :) -- View thi

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 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 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

Re: Riak API for Java

2014-11-12 Thread Ebbinge
run: java.io.IOException: Error receiving outputs: normal That's the error I am receiving :/ Could you guide me to make it work with my "Producto" Class, I am total beginner to the Riak API for Java. Thanks in advance, Edwin. -- View this message in context: http://riak-users.197444.n3.nabb

Re: Riak API for Java

2014-11-12 Thread Ebbinge
Great, thank you so much. I tried using the format of the class that you wrote in the gist github you sent me. I get now all my 20 "productos" printed on the console of netbeans, which is something :D!!! Now, any idea of how I can map-reduce the top ten most used words of the descriptions of each

Re: Riak API for Java

2014-11-12 Thread Ebbinge
I am aware that the BucketMapReduce has a method called addReducePhase, but the documentation on java does not tell me what should go in the parameters, and I haven't found any examples of it. I have a clue of how to do what I need to do manually, using an arraylist, but, If the API has the reducep

Re: Riak API for Java

2014-11-12 Thread Ebbinge
Now... I have another problem :/ Before I was using a node installed on my mac, I have an Ubuntu machine which is a cluster along with other 2 Ubuntu Machines (Virtual Machines using VMware). When I use the IP for the node on my mac, it works FINE, but... If I use the IP of my Virtual Machine which