riak-cs WAITING_FOR_ERLANG

2013-06-18 Thread Guy Morton
It's a bit like waiting for Godot, who never arrives.

I am a riak-cs newbie, and I am stuck at this hurdle. Can someone please point 
me in the right direction?

--
Guy Morton
Web Development Manager
Brüel  Kjær EMS
This e-mail is confidential and may be read, copied and used only by the 
intended recipient. If you have received it in error, please contact the sender 
immediately by return e-mail. Please then delete the e-mail and do not disclose 
its contents to any other person.

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


On Ubuntu 13.04 / 64

2013-06-18 Thread mdr
Hello -

Trying to install on Ubuntu 13.04/64.
...
The apt-get listed here did not work:
http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debian-and-Ubuntu/

Errors:
W: Failed to fetch
http://apt.basho.com/dists/raring/main/binary-amd64/Packages  403  Forbidden
[IP: 176.32.99.41 80]

W: Failed to fetch
http://apt.basho.com/dists/raring/main/binary-i386/Packages  403  Forbidden
[IP: 176.32.99.41 80]
...
It does say Ubuntu 12.04.

So wondering what would be the best way on Ubuntu 13.04. Get the .deb file?
Even the .deb file say 12.04 so am hoping it will work.

Thanks.

Mono



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread Jared Morrow
Mono,

Installing the Ubuntu 12.04 package with 'dpkg -i' will work fine.

-Jared


On Tue, Jun 18, 2013 at 9:10 AM, mdr monosij.for...@gmail.com wrote:

 Hello -

 Trying to install on Ubuntu 13.04/64.
 ...
 The apt-get listed here did not work:

 http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debian-and-Ubuntu/

 Errors:
 W: Failed to fetch
 http://apt.basho.com/dists/raring/main/binary-amd64/Packages  403
  Forbidden
 [IP: 176.32.99.41 80]

 W: Failed to fetch
 http://apt.basho.com/dists/raring/main/binary-i386/Packages  403
  Forbidden
 [IP: 176.32.99.41 80]
 ...
 It does say Ubuntu 12.04.

 So wondering what would be the best way on Ubuntu 13.04. Get the .deb file?
 Even the .deb file say 12.04 so am hoping it will work.

 Thanks.

 Mono



 --
 View this message in context:
 http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094.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


question about riak siblings

2013-06-18 Thread Jeremy Ong
Suppose I have two sources writing to the database, source A and source B.

Next, suppose A and B both issue a write to the database so they spawn two
siblings: [a1, b1].

Finally, suppose A writes another object using the metadata of the riak
object returned when writing a2. This will lead to the following situation:

[a1, b1, a2].

Upon the next read, the client will be presented with these three siblings.
Is there a publicly exposed way to establish a strict ordering between a1
and a2?

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


Re: question about riak siblings

2013-06-18 Thread Jeremy Ong
On Tue, Jun 18, 2013 at 12:57 PM, Jeremy Ong jer...@quarkgames.com wrote:

 Suppose I have two sources writing to the database, source A and source B.

 Next, suppose A and B both issue a write to the database so they spawn two
 siblings: [a1, b1].

 
 Finally, suppose A writes another object using the metadata of the riak
 object returned when writing a2. This will lead to the following situation:

Sorry typo. This should read:



Finally, suppose A writes another object using the metadata of the riak
object returned when writing a1



 [a1, b1, a2].

 Upon the next read, the client will be presented with these three
 siblings. Is there a publicly exposed way to establish a strict ordering
 between a1 and a2?

 Thanks,
 Jeremy

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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread mdr
Thanks Jared. Will try it out and let you know how it works.

Am new to Riak. I plan to connect from Python and work with it. I noticed
there was a Python library to interact with Riak and plan to use it. I
assume it is pretty well supported.

However is there any requirement that Erlang (base or such) needs to be
installed? I guess the Riak installation will provide any necessary Erlang
needed. Or should I install Erlang from Ubuntu repo first?

Finally - with installing with dpkg -i - will updates and patches to Riak be
automatically updated as well when I do an apt-get upgrade? Or will be tuck
at the version I installed. Is there a way to install updates from Riak
command line or such?

Thank for your help.

Mono



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028098.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread Jared Morrow
Mono,

First, welcome to Riak and the riak community.  In regards to erlang, the
Riak package will give you all the erlang bits you need, you shouldn't
install erlang from the Ubuntu repos.

Python is one of the client libraries we provide and support.  I'm not an
expert on it, but we do actively support it for new releases.

Installing via dpkg will not do updates for you automatically, but you can
upgrade with it when new releases come out. See the documentation on
Rolling Upgrades here
http://docs.basho.com/riak/latest/cookbooks/Rolling-Upgrades/

Hope that helps.

-Jared


On Tue, Jun 18, 2013 at 11:30 PM, mdr monosij.for...@gmail.com wrote:

 Thanks Jared. Will try it out and let you know how it works.

 Am new to Riak. I plan to connect from Python and work with it. I noticed
 there was a Python library to interact with Riak and plan to use it. I
 assume it is pretty well supported.

 However is there any requirement that Erlang (base or such) needs to be
 installed? I guess the Riak installation will provide any necessary Erlang
 needed. Or should I install Erlang from Ubuntu repo first?

 Finally - with installing with dpkg -i - will updates and patches to Riak
 be
 automatically updated as well when I do an apt-get upgrade? Or will be tuck
 at the version I installed. Is there a way to install updates from Riak
 command line or such?

 Thank for your help.

 Mono



 --
 View this message in context:
 http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028098.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread Dave Thomas
I saw a similar problem with Debian Wheezy a few weeks ago.  Also solved by
pointing my host to the Squeeze directories on apt.basho.com.  Somebody
should nudge the maintainer of the repo :)


On Tue, Jun 18, 2013 at 2:30 PM, mdr monosij.for...@gmail.com wrote:

 Thanks Jared. Will try it out and let you know how it works.

 Am new to Riak. I plan to connect from Python and work with it. I noticed
 there was a Python library to interact with Riak and plan to use it. I
 assume it is pretty well supported.

 However is there any requirement that Erlang (base or such) needs to be
 installed? I guess the Riak installation will provide any necessary Erlang
 needed. Or should I install Erlang from Ubuntu repo first?

 Finally - with installing with dpkg -i - will updates and patches to Riak
 be
 automatically updated as well when I do an apt-get upgrade? Or will be tuck
 at the version I installed. Is there a way to install updates from Riak
 command line or such?

 Thank for your help.

 Mono



 --
 View this message in context:
 http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028098.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread mdr
Thanks Jared and Thanks Dave.

Clarifications much appreciated.

I will try pointing to 12.04 (Intrepid) first see if it works.

Then I will try the dpkg if 12.04 repo does not work.

Will update you on how it goes.

Thanks again.

Monosij



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028101.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread Jared Morrow
Wheezy didn't exist when 1.3.1 came out, hence the lack of that option on
apt.basho.com.

-Jared




On Tue, Jun 18, 2013 at 11:51 PM, Dave Thomas opensou...@peoplemerge.comwrote:

 I saw a similar problem with Debian Wheezy a few weeks ago.  Also solved
 by pointing my host to the Squeeze directories on apt.basho.com.
  Somebody should nudge the maintainer of the repo :)


 On Tue, Jun 18, 2013 at 2:30 PM, mdr monosij.for...@gmail.com wrote:

 Thanks Jared. Will try it out and let you know how it works.

 Am new to Riak. I plan to connect from Python and work with it. I noticed
 there was a Python library to interact with Riak and plan to use it. I
 assume it is pretty well supported.

 However is there any requirement that Erlang (base or such) needs to be
 installed? I guess the Riak installation will provide any necessary Erlang
 needed. Or should I install Erlang from Ubuntu repo first?

 Finally - with installing with dpkg -i - will updates and patches to Riak
 be
 automatically updated as well when I do an apt-get upgrade? Or will be
 tuck
 at the version I installed. Is there a way to install updates from Riak
 command line or such?

 Thank for your help.

 Mono



 --
 View this message in context:
 http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028098.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


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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread mdr
Jared - Great to know you are actively supporting Python. I was able to
install the libary fine from pip under Python3.

I will update soon on how rest of it goes and will try the connectivity from
Python3.

Best.

Monosij



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028102.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread mdr
Happy to report that 1.3.1 installed fine from the Precise (12.04) repo.

Thanks much for both of your help.

Monosij



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028104.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread mdr
I do have a few questions regards the install however.

Riak installed (from Precise) with the followng:
Adding system user `riak' (UID 110) ...
Adding new user `riak' (UID 110) with group `riak' ...
Not creating home directory `/var/lib/riak'.

I have a few questions:
1. Will data in /var/lib/riak be created when I create first database?
2. Or do I have to check the init file to set some params regards initiating
database.
3. I find app.config under /etc/riak lists directories. 
4. sudo service riak stop returns clean - does not say whether stopped
anything.
5. sudo service riak start returns:
Attempting to restart script through sudo -H -u riak

 WARNING: ulimit -n is 1024; 4096 is the recommended minimum.

Node is already running!

So what is the best way to stop the Riak service?
...
Thanks again.

Monosij



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028105.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread Jared Morrow
Mono,

1.3 had some issues around return codes and 'service' might be getting
upset.  Using just 'sudo riak start' and 'sudo riak stop' is the preferred
method.  You do not need to create /var/lib/riak, the proper data
directories will be created on the first start.

I'd highly recommend you follow the Fast Track on the documentation site to
get more familiar with how Riak works before diving too far into it.
http://docs.basho.com/riak/latest/tutorials/fast-track/

There were several fixes in regards to init scripts and return codes added
to Riak 1.4 which is our next major release.

-Jared


On Wed, Jun 19, 2013 at 1:33 AM, mdr monosij.for...@gmail.com wrote:

 I do have a few questions regards the install however.

 Riak installed (from Precise) with the followng:
 Adding system user `riak' (UID 110) ...
 Adding new user `riak' (UID 110) with group `riak' ...
 Not creating home directory `/var/lib/riak'.

 I have a few questions:
 1. Will data in /var/lib/riak be created when I create first database?
 2. Or do I have to check the init file to set some params regards
 initiating
 database.
 3. I find app.config under /etc/riak lists directories.
 4. sudo service riak stop returns clean - does not say whether stopped
 anything.
 5. sudo service riak start returns:
 Attempting to restart script through sudo -H -u riak
 
  WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
 
 Node is already running!

 So what is the best way to stop the Riak service?
 ...
 Thanks again.

 Monosij



 --
 View this message in context:
 http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028105.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


Re: On Ubuntu 13.04 / 64

2013-06-18 Thread mdr
Thanks Jared. I will.

Appreciate it.

Have a good evening.

Mono



--
View this message in context: 
http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028107.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