Re: Cluster on startup.

2012-11-07 Thread OJ Reeves
Hello Kevin, The 'name' attribute in the 'node' element that you see in the configuration for CorrugatedIron was initially intended to be a helpful identifier to make it clear exactly which node is actually being reference by that configuration element. In the work that I have done with it, the at

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
I started reading the documentation on Zookeeper but it will take some time for me to know the ins and outs of this service. Would you be able to jump-start my learning curve so that I could perform this simple operation. Right now I only want 3-4 riak instances on the same machine. From there I am

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
On more question. The "Quick Start" shows manually starting each riak server then joining. But when I start my Linux server I see that a riak server is started. I am assuming that this is the main riak server that was installed. How do I start three riak instances instead of just one or by startin

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
To add a node to a cluster, you can execute riak-admin cluster join riak@192.168.0.1 See [1] for more details. There is no need to reboot for the cluster to be formed; the nodes will talk amongst themselves and once they find each other, the cluster is up. To start and stop my dev cluster, I wr

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
Thank you this will help. I am a little new to the administration of init.d. What do I need to edit to remove the startup of the Riak instance? What should be changed to the init.d to run the script on boot up? I notice that the script only has functions. How are the functions used? You also do

RE: Populate and Set_Siblings

2012-11-07 Thread Kevin Burton
Since I will be importing data from an existing SQL Server this population needs to involve some sort of .NET driver. I would rather not take the time to learn python and how it interfaces with SQL Server if possible. Any suggestions? From: riak-users [mailto:riak-users-boun...@lists.basho.co

Re: Cluster on startup.

2012-11-07 Thread Colin Alston
On 7 November 2012 05:36, Reid Draper wrote: > > On Nov 6, 2012, at 5:43 PM, Kevin Burton wrote: > > This is probably an FAQ but I was unable to find an answer so hopefully > there will be some patient people. > > The “Quick Start” builds a simple cluster all on the same machine (called > de

Re: Populate and Set_Siblings

2012-11-07 Thread Jeremiah Peschka
CorrugatedIron[1][2] is a .NET driver for Riak. It supports the vast majority of Riak 1.2 features (search is a bit rough around the edges). [1]: http://CorrugatedIron.org [2]: http://github.com/DistributedNonsense/CorrugatedIron --- Jeremiah Peschka Founder, Brent Ozar Unlimited On Nov 7, 2012

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
Responses inline. --- Jeremiah Peschka Founder, Brent Ozar Unlimited On Nov 7, 2012, at 6:45 AM, "Kevin Burton" wrote: > Thank you this will help. I am a little new to the administration of init.d. > What do I need to edit to remove the startup of the Riak instance? What > should be changed t

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
The problem I see is that since this script is just functions if I run it then it will do nothing as the functions are not called. Is there some kind of “include” that I am missing? Thank you for the link for the tutorial. I am still not sure what the sequence should be for calling your scri

Re: Populate and Set_Siblings

2012-11-07 Thread Michael Clemmons
I apologize for the confusion here(shouldn't hit listserves at 6am). I'm talking about the python client for riak and refering to the to methods populate and set_sublings found https://github.com/basho/riak-python-client/blob/master/riak/riak_object.py#L526and https://github.com/basho/riak-python-

Re: Cluster on startup.

2012-11-07 Thread Shane McEwan
If you edit /etc/init.d/riak you should see a line like: su - riak -c "$DAEMON $DAEMON_ARGS" || return 2 in the "do_start" function. If you change that line into the following 4 lines: su - riak -c "/path/to/your/riak/dev1/bin/riak $DAEMON_ARGS" || return 2 su - riak -

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
Thank you. This is very helpful. Two more questions. One, my dev[1234] has about 6Mb of data in the directory. What are the bare minimum required files and directories? Two, would I issue the 'join' command here also to form the cluster? -Original Message- From: riak-users [mailto:riak-use

Re: Populate and Set_Siblings

2012-11-07 Thread Jeremiah Peschka
Yeah, neither should I. --- Jeremiah Peschka Founder, Brent Ozar Unlimited On Nov 7, 2012, at 7:49 AM, Michael Clemmons wrote: > I apologize for the confusion here(shouldn't hit listserves at 6am). I'm > talking about the python client for riak and refering to the to methods > populate and s

Re: Cluster on startup.

2012-11-07 Thread Jeremiah Peschka
You should only issue the join command once - when you create the cluster. After that happens, the nodes will join the cluster at start. --- Jeremiah Peschka Founder, Brent Ozar Unlimited On Nov 7, 2012, at 8:13 AM, "Kevin Burton" wrote: > Thank you. This is very helpful. Two more questions. O

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
Thank you. What about do_stop, do_reload, and do_status? -Original Message- From: riak-users [mailto:riak-users-boun...@lists.basho.com] On Behalf Of Shane McEwan Sent: Wednesday, November 07, 2012 9:54 AM To: riak-users@lists.basho.com Subject: Re: Cluster on startup. If you edit /etc/in

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
So how does this script fit in with the suggestions to edit the riak script in /etc/init.d? From: riak-users [mailto:riak-users-boun...@lists.basho.com] On Behalf Of Jeremiah Peschka Sent: Wednesday, November 07, 2012 8:17 AM To: riak-users@lists.basho.com Subject: Re: Cluster on startup.

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
In the "Quick Start" documentation it states the 'join' should be done like: $ dev2/bin/riak-admin cluster join dev1@127.0.0.1 $ dev3/bin/riak-admin cluster join dev1@127.0.0.1 $ dev4/bin/riak-admin cluster join dev1@127.0.0.1 Where does 'dev1' name come from? I have started all of the Riak insta

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
One more question I am getting the error: Unknown id: - /home/kevin/riak-1.2.1/dev/dev1/bin/riak Here is a snippet of the raik script that I am using: # su - riak -c "$DAEMON $DAEMON_ARGS" || return 2 su - /home/kevin/riak-1.2.1/dev/dev1/bin/riak -c "$DAEMON $DAEMON_ARGS" || retu

Re: Cluster on startup.

2012-11-07 Thread Reid Draper
On Nov 7, 2012, at 11:13 AM, Kevin Burton wrote: > Thank you. This is very helpful. Two more questions. One, my dev[1234] has > about 6Mb of data in the directory. What are the bare minimum required files > and directories? Two, would I issue the 'join' command here also to form the > cluster?

mysterious Riak problems

2012-11-07 Thread David Lowell
Hello Riak Folks, The last three days, we've been having a string of problems with Riak. An otherwise healthy server running our full application stack will suddenly start throwing a bunch of errors in the logs. Although the Riak processes stay up, most or all requests to Riak fail during these

RE: Cluster on startup.

2012-11-07 Thread Kevin Burton
Not just 6Mb but it is 6Mb for every node. And it is not just the storage but the deployment. The fewer the files the better. -Original Message- From: Reid Draper [mailto:reiddra...@gmail.com] Sent: Wednesday, November 07, 2012 12:52 PM To: Kevin Burton Cc: 'Shane McEwan'; riak-users@list

Re: mysterious Riak problems

2012-11-07 Thread David Lowell
After further thought, I want to add more color to this issue. I hypothesize the symptoms I described here were continued fallout of an earlier crash. So I've waded further back into to the logs to try to shed light on how the Riak process was doing prior to this time. It was unhappy. It appears

riak-ruby-client release 1.1.0

2012-11-07 Thread Sean Cribbs
Hey riak-users, I'm happy to announce the release and immediate availability of riak-client version 1.1.0. Release 1.1.0 includes full Riak 1.2 compatibility, and includes improvements to the handling of siblings, the node generation tools, and resolves a number of important bugs. Features: * C

Re: mysterious Riak problems

2012-11-07 Thread Mark Phillips
Hmm. Thanks for the extensive info. We're looking into this. Give us a few hours to do some theorizing. You'll hear from us tomorrow unless another enterprising list member has thoughts here. On Nov 7, 2012, at 3:56 PM, David Lowell wrote: > After further thought, I want to add more co

pub/sub messaging e.g. worker queue on riak?

2012-11-07 Thread Istvan Soos
Hi, I'm playing with the idea how Riak could be used to build a pub/sub messaging on it. I know that there are specialized products for that, I just find it an interesting problem to solve it with Riak only (+ not too much client code). The example scenario is the following: - N producers create