Re: Riak CS results and proxying

2013-11-13 Thread Andrew Tynefield
I appreciate the help Kelly! ( And sorry for the double mail you're going to get, accidentally didn't reply to all. ) I've provided the requested information below. app.config: http://pastebin.centos.org/5716/ app.config for riak-cs is managed by puppet, installing the same file on both nodes. r

Re: Riak CS results and proxying

2013-11-13 Thread Kelly McLaughlin
Andy, To try to get a better idea of what might be going on it would be helpful to see what your riak and riak cs app.config files look like. Also the output of riak-admin ring-status and riak-admin member-status could be useful. For the upload issue I am curious if you have changed the port th

Riak CS results and proxying

2013-11-13 Thread Andrew Tynefield
Hey guys, I'm working on a dev environment for a riak-cs setup. 2 vms and an external proxy Config of the riak/riak-cs nodes appears to be all complete. I'm encountering two issues I'd like some pointers on where to begin diagnosing before I go around stracing everything. Firstly: When using s3

Re: Moving the config and log dirs

2013-11-13 Thread Luke Bakken
Hi Jeff, You can modify the location of the data and log files by editing the appropriate entries in app.config Changing the location of app.config and vm.args would involve modifying the lib/env.sh file to change the value of RUNNER_ETC_DIR. As you said, this may introduce other issues since it

Re: Forcing Siblings to Occur

2013-11-13 Thread Jeremiah Peschka
s/metadata/data/ - each sibling is a discrete copy of whatever data you've put in it + metadata. In the case of the client side indexes, you're right - the bulk of the increased storage will be from metadata. --- Jeremiah Peschka - Founder, Brent Ozar Unlimited MCITP: SQL Server 2008, MVP Clouder

Insecurities with documentations?

2013-11-13 Thread Shuhao Wu
Hi, I just came across the instructions to install Riak again and I think there's some insecurities with the instructions. On this page[1], there is a line that suggests we should do this: curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add - This is not https and should be. Addi

Re: Forcing Siblings to Occur

2013-11-13 Thread Olav Frengstad
Thanks for the input. If i understand correctly the only size overhead would be in the extra metadata added by all the siblings? 2013/11/13 Hector Castro > The `put_index` snippet in the following blog post actually forces the > creation of siblings (while `get_index` resolves them by doing a

Write to object(s) by index

2013-11-13 Thread Olav Frengstad
Hey, I'm trying to come up with an solution to writing child objects where the parent will be reference by some secondary index. The data model contains a list of devices, each with a list of messages beneath them. Currently I have a hierarchical scheme where devices are stored under (devices, )

Re: Forcing Siblings to Occur

2013-11-13 Thread Hector Castro
The `put_index` snippet in the following blog post actually forces the creation of siblings (while `get_index` resolves them by doing a set union): http://basho.com/index-for-fun-and-for-profit/ As John said, you definitely want to be careful not to create too many siblings because that'll impact

Re: Forcing Siblings to Occur

2013-11-13 Thread Russell Brown
On 13 Nov 2013, at 10:03, Carlos Baquero wrote: > > Its interesting to see a use case where a grow only set is sufficient. I > believe Riak 2.0 will offer optimized OR-Sets that allow item removal at the > expense of some extra complexity in element storage and logarithmic metadata > growth

Re: Forcing Siblings to Occur

2013-11-13 Thread Carlos Baquero
Its interesting to see a use case where a grow only set is sufficient. I believe Riak 2.0 will offer optimized OR-Sets that allow item removal at the expense of some extra complexity in element storage and logarithmic metadata growth per operation. But for your case a simple direct set of eleme

Re: Forcing Siblings to Occur

2013-11-13 Thread Sam Elliott
We have introduced these so that users who are accidentally creating siblings (and large objects) can be notified in their logs. 1) Of course you can choose to change the limits 2) Please Please only do so if you know what you're doing. There's a certain amount of "you're on your own", because