Riak Java Client 1.1.2 and 1.4.0

2013-07-24 Thread YN
Hi Brian, Thanks for putting the release together so quickly. It does not appear as though the download is working (for the non maven files). It looks like there's some permissions issue (get an access denied). Thanks. YN shared this with you. Riak J

Corrupted Erlang binary term inside LevelDB

2013-07-24 Thread Vladimir Shabanov
Hello, Recently I've started expanding my Riak cluster and found that handoffs were continuously retried for one partition. Here are logs from two nodes https://gist.github.com/vshabanov/41282e622479fbe81974 The most interesting parts of logs are "Handoff receiver for partition ... exited abnorm

Riak Java Client v2.0 and HTTP

2013-07-24 Thread Brian Roach
Code never sleeps. And it mostly comes at night. Mostly. Now that v1.4.0 of the RJC is released we're back to working on v2.0. It's a major overhaul of the client. The one large change we're looking at is no longer using HTTP and instead exclusively using Protocol Buffers to communicate with Riak

RFC: Adding security to Riak

2013-07-24 Thread Andrew Thompson
As an effort to get some community feedback (and maybe even some contributions) and to give people a heads up, I'd like to present my RFC on adding security to Riak as part of the next major release: https://github.com/basho/riak/issues/355 Feel free to provide any input, preferably via github, b

Riak Java Client 1.1.2 and 1.4.0

2013-07-24 Thread Brian Roach
Greetings! The Riak Java client versions 1.1.2 and 1.4.0 have been released and are now available from maven central. For non-maven users a bundled jar including all dependencies can be found for these versions at: http://riak-java-client.s3.amazonaws.com/riak-client-1.4.0-jar-with-dependencies.j

Re: Riak not binding to anything but localhost

2013-07-24 Thread Shane McEwan
On 24/07/13 13:14, John Le Drew wrote: Hi there Trying to get a simple Riak Cluster configured on some VMs. I'm using Ubuntu 12.04 and compiled Riak 1.4 from source. It will start up fine when bound to 127.0.0.1 but after changing the IP in app.config and vm.args it no longer starts. The only o

Re: Riak not binding to anything but localhost

2013-07-24 Thread Andrew Thompson
On Wed, Jul 24, 2013 at 05:16:03PM +0100, John Le Drew wrote: > Sorry, that was just a mistake. I will correct it, my vm.args and > app.config were generated from a shell script and that was replaces > out, when I made my gist I copied the contents of the templates rather > than a generated file by

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
All updated hope it's clearer now. Sorry about that! Cheers John -- John Le Drew www.antz29.com London / (020) 0333 1751 - New York / (646) 606 2993 - Mobile / 07813 211 458 Skype | Twitter | Facebook | LinkedIn | Fax / (020) 3519 0049 On Wed, Jul 24, 2013 at 5:16 PM, John Le Drew wrote: >

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
Sorry, that was just a mistake. I will correct it, my vm.args and app.config were generated from a shell script and that was replaces out, when I made my gist I copied the contents of the templates rather than a generated file by mistake. Cheers John -- John Le Drew www.antz29.com London / (02

Re: Riak not binding to anything but localhost

2013-07-24 Thread Andrew Thompson
Ok, so why, in your gist, is the HTTP IP set to [[IP]], at first I thought you were anonymizing IPs, but I just noticed that you set the PB IP correctly? Andrew ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listin

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
see the gist or: eth1 Link encap:Ethernet HWaddr 08:00:27:83:e8:d9 inet addr:192.168.123.10 Bcast:192.168.123.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:fe83:e8d9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2443

Re: Riak not binding to anything but localhost

2013-07-24 Thread Andrew Thompson
So what does ifconfig -a (or whatever the heck the modern linux equivalent is) report for the local interfaces? Is the IP you're trying to assign present? Andrew ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listi

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
Just for reference, the output of ifconfig: https://gist.github.com/antz29/40cae3cc8e1860dbecca -- John Le Drew www.antz29.com On Wed, Jul 24, 2013 at 4:52 PM, John Le Drew wrote: > It's a host-only interface running on a Vagrant (VirtualBox) VM. > > -J > > > -- > John Le Drew > > www.antz29.co

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
It's a host-only interface running on a Vagrant (VirtualBox) VM. -J -- John Le Drew www.antz29.com On Wed, Jul 24, 2013 at 4:49 PM, Andrew Thompson wrote: > Are you trying to apply an external IP to riak, which may actually be > NATted in from outside? This is very common on AWS: > > http://

Re: Riak not binding to anything but localhost

2013-07-24 Thread Andrew Thompson
Are you trying to apply an external IP to riak, which may actually be NATted in from outside? This is very common on AWS: http://lists.basho.com/pipermail/riak-users_lists.basho.com/2013-June/012318.html Andrew ___ riak-users mailing list riak-users@li

Re: Tweaking app.config and vm.args for best performance

2013-07-24 Thread Guido Medina
For more configuration options (including TCP_NODELAY) go to: http://docs.basho.com/riak/latest/ops/advanced/configs/configuration-files/ Guido. On 24/07/13 16:02, Dave Brady wrote: Hi rsb, In app.config: {riak_api, [ %% Set TCP_NODELAY {disable_pb_nagle, true} ]}, {riak_core, [

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
Just to make sure I don't offend anyone! I meant more knowledge than me! Not more knowledge that the awesome chaps that are helping out Cheers John -- John Le Drew www.antz29.com London / (020) 0333 1751 - New York / (646) 606 2993 - Mobile / 07813 211 458 Skype | Twitter | Facebook | LinkedI

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
OK, so I just rebuilt from source and changed the -name before starting, and I'm still getting the same issue. Is there anything else that might be going wrong here? Perhaps someone with a bit more knowledge of Riak and able to follow the error log might be able to shed some light? Cheers John

Re: Riak not binding to anything but localhost

2013-07-24 Thread antz29
OK, so I just rebuilt from source and changed the -name before starting, and I'm still getting the same issue. Is there anything else that might be going wrong here? Perhaps someone with a bit more knowledge of Riak and able to follow the error log might be able to shed some light? Cheers John

Re: Tweaking app.config and vm.args for best performance

2013-07-24 Thread Dave Brady
Hi rsb, In app.config: {riak_api, [ %% Set TCP_NODELAY {disable_pb_nagle, true} ]}, {riak_core, [ %% Set TCP_NODELAY {disable_http_nagle, true} ]}, -- Dave Brady - Original Message - From: "Guido Medina" To: "riak-users" Sent: Wednesday, July 24, 2013 12:29:06 PM

Re: Setting up my Riak architecture

2013-07-24 Thread Hector Castro
Hi Maksymilian, My response is inline below. -- Hector On Wed, Jul 24, 2013 at 8:51 AM, prog112 wrote: > > Hello. > I'm currently developing my database relationships with my other server > applications and I'm having a hard time figuring out how to approach it. > Here's what I'm wondering abo

Re: Riak not binding to anything but localhost

2013-07-24 Thread Christian Dahlqvist
Hi John, As you started up the node set to 127.0.0.1, a ring file was created with this information. As I believe the node is isolated and not yet part of a cluster, you should be able to remove this and restart it with the new IP. Best regards, Christian On 24 Jul 2013, at 13:14, John Le D

Re: Setting up my Riak architecture

2013-07-24 Thread Guido Medina
Riak is a multi-master database, your client will create a connection pool to all nodes in the cluster. For production it is recommended at least 5 nodes in the cluster, to get started, I guess you should first read some documentation, here is some that can help you: http://docs.basho.com/riak

Setting up my Riak architecture

2013-07-24 Thread prog112
Hello. I'm currently developing my database relationships with my other server applications and I'm having a hard time figuring out how to approach it. Here's what I'm wondering about: 1) How does accessing Riak really work? Currently I'm having one machine with all my tools (Riak, master server,

Re: Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
For sanity, I just moved the Erlang crash dump into it's own Gist : https://gist.github.com/antz29/47b17f64e01e5d8f702f Cheers John -- John Le Drew www.antz29.com On Wed, Jul 24, 2013 at 1:14 PM, John Le Drew wrote: > Hi there > > Trying to get a simple Riak Cluster configured on some VMs. I

Riak not binding to anything but localhost

2013-07-24 Thread John Le Drew
Hi there Trying to get a simple Riak Cluster configured on some VMs. I'm using Ubuntu 12.04 and compiled Riak 1.4 from source. It will start up fine when bound to 127.0.0.1 but after changing the IP in app.config and vm.args it no longer starts. The only output I get from Riak start is: Node 'ri

Riak - mochiweb - http log

2013-07-24 Thread fenix . serega
Hi all, Is there any possible way to enable mochiweb http logs in riak !? For http requests monitoring purposes. Thanks, Sergey ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Tweaking app.config and vm.args for best performance

2013-07-24 Thread Guido Medina
I'm not sure, I would suggest you to go through release notes, the link I sent you is for the latest version which is 1.4, depending on the version of Riak you want to use or required to use different settings/tuning apply, go chronologically from 1st relevant version to last and see what appli

Re: Tweaking app.config and vm.args for best performance

2013-07-24 Thread rsb
Thanks Guido. While great advice, those tuning tips seems to cover a limited amount of optimization mainly OS based. If also found the configuration files doc's (http://docs.basho.com/riak/1.2.0/references/Configuration-Files/) but I am uncertain of which parameters should I be modifying and to whi