iron.io post commit hook

2013-03-13 Thread Jon Brisbin
Just wondering if anyone else in Riakland would be interested in a post commit hook that could trigger an IronWorker or send an IronMQ message (using the REST API)? I have a need for one myself for a iOS photography app I'm experimenting with (when I have free time...which is almost never!) and

Re: iron.io post commit hook

2013-03-13 Thread John E. Vincent
Personally I'm interested in all manner of post-commit hook example code. While I don't have a need personally, it would be a great way to see more examples to learn from as I'm keen on something myself. On Wed, Mar 13, 2013 at 9:21 AM, Jon Brisbin wrote: > Just wondering if anyone else in Riakla

Upgrade Riak

2013-03-13 Thread Kevin Burton
I want to upgrade to 1.3 and I see the instructions for installing riak at http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debia n-and-Ubuntu/ . But I don't want to install. I just want to upgrade. In other words I have app.config and a cluster setup right now and I would rat

RE: Error interpretation

2013-03-13 Thread Kevin Burton
So the question remains in my mind why curl -XPUT http://devUbuntu01:8098/riak/images/1.jpg -H "Content-type: image/jpeg" --data-binary @test.jpg and the corresponding read curl -v http://devUbuntu01:8098/riak/images/1.jpg >test-read.jpg work without error but the CI call to put fai

Re: Upgrade Riak

2013-03-13 Thread Jan Pieper
Hi Kevin, i think this will answer your question: http://docs.basho.com/riak/latest/cookbooks/Rolling-Upgrades/. with regards, Jan On Wed, Mar 13, 2013 at 3:10 PM, Kevin Burton wrote: > I want to upgrade to 1.3 and I see the instructions for installing riak at > http://docs.basho.com/riak/lates

Re: Error interpretation

2013-03-13 Thread Jeremiah Peschka
Was your call using CorrugatedIron *exactly* the same as that? You just dumped a binary object into a bucket with search enabled and it blew up in CI but not curl? Or is something different going? An apple is not a pineapple. If you can provide a complete, compiling code sample via pastebin, gist

Re: Upgrade Riak

2013-03-13 Thread Dmitri Zagidulin
Hi Kevin, While it's not as simple as a one-command upgrade, you can do a rolling upgrade of each node in the cluster, fairly easily. Take a look at http://docs.basho.com/riak/latest/cookbooks/Rolling-Upgrades/, to start. On Wed, Mar 13, 2013 at 10:10 AM, Kevin Burton wrote: > I want to upgrade

RE: Error interpretation

2013-03-13 Thread Kevin Burton
What is the CI equivalent to the curl command? I tried building a simple example and it seems that when using CI the data keeps growing with each put. It is like it is appending the data. But the write is successful so something is different. From: Jeremiah Peschka [mailto:jeremiah.pesc...@gmai

debugging basic http curl operations

2013-03-13 Thread Aatish
Hello everyone , I'm relatively new to riak and am just in the process of exploring things I seem to have this recurring problem thats an on again ..off again thing .. NOTE: This issue started after i tried setting up a mulit backend setup but reverted back to this one for now Everytime i start

Re: No more disk space on a node of my Riak cluster

2013-03-13 Thread Godefroy de Compreignac
Hi Mark, Thanks for your email. The rebalancing doesn't seem to be working really good... I still have approximately the same repartition as last week : # riak-admin member-status Attempting to restart script through sudo -H -u riak = Membership ===

Re: No more disk space on a node of my Riak cluster

2013-03-13 Thread Tom Santero
Godefroy, Which version of Riak are you running? Tom On Wed, Mar 13, 2013 at 5:51 AM, Godefroy de Compreignac < godef...@eklablog.com> wrote: > Hi Mark, > > Thanks for your email. > The rebalancing doesn't seem to be working really good... > I still have approximately the same repartition as la

Re: No more disk space on a node of my Riak cluster

2013-03-13 Thread Godefroy de Compreignac
I'm running Riak 1.2.1 I installed it with riak_1.2.1-1_amd64.deb Godefroy 2013/3/13 Tom Santero > Godefroy, > > Which version of Riak are you running? > > Tom > > > On Wed, Mar 13, 2013 at 5:51 AM, Godefroy de Compreignac < > godef...@eklablog.com> wrote: > >> Hi Mark, >> >> Thanks for your e

Re: debugging basic http curl operations

2013-03-13 Thread Mark Phillips
Hey Aatish, The only thing that comes to mind is that 8087 is already in use for something else (I've done this N times)... but nothing else looks suspect based on my hasty review. Some entry level log file info can be found on our docs [1]. I would start there and see if there's anything fishy.

Re: debugging basic http curl operations

2013-03-13 Thread Brian Shumate
Hi Aatish, One issue that I can immediately see is that you appear to be accessing Riak's default protocol buffers interface port 8087 with HTTP The default HTTP port for Riak is 8098. Can you modify your request to use port 8098 so that it resembles the following example and try it? curl -v -H

Re: basho_bench's http raw client constantly crashes

2013-03-13 Thread Scott Lystig Fritchie
Denis Zhdanov wrote: dz> Hi All, Could someone answer is basho_bench's dz> basho_bench_driver_http_raw driver working or not now? Hi. Yes, it works fine ... but does not support the 'delete' operation that you're trying to use in your config's 'operation' list. -Scott

RE: Error interpretation

2013-03-13 Thread Kevin Burton
Instead of using a binary file I tried a file that contains serialized JSON data. I am getting pretty much the same error: 500 Internal Server ErrorInternal Se rver ErrorThe server encountered an error while processing this request:{error, {error,badarg, [{erlang,iolist_to_binary

Re: Error interpretation

2013-03-13 Thread Jeremiah Peschka
I ran the sample code you sent over on my local machine and it ran without error. I did have to enable riak search on an individual bucket by setting bucket properties, but you can see the changes I made here: http://clientresources.brentozar.com.s3.amazonaws.com/CITest.zip You may not get the sea

RE: Error interpretation

2013-03-13 Thread Kevin Burton
Thank you. I was not trying to search I was just trying to store the value. When I try to open the file I get The website declined to show this webpage So I am not sure what changes you made. From: Jeremiah Peschka [mailto:jeremiah.pesc...@gmail.com] Sent: Wednesday, March 13, 2

Re: Error interpretation

2013-03-13 Thread Jeremiah Peschka
Try now, this appears to fall into the "Jeremiah can't work anything that requires security" category. --- Jeremiah Peschka - Founder, Brent Ozar Unlimited MCITP: SQL Server 2008, MVP Cloudera Certified Developer for Apache Hadoop On Wed, Mar 13, 2013 at 6:06 PM, Kevin Burton wrote: > Thank you

RE: Error interpretation

2013-03-13 Thread Kevin Burton
So the only change you made was to enable search for the bucket. And since I am not using search (just trying to store the object) you could remove that also. Why did you feel that it was needed? This brings us back to the original question though. What does the error tell me about the configur

Re: Error interpretation

2013-03-13 Thread Jeremiah Peschka
--- Jeremiah Peschka - Founder, Brent Ozar Unlimited MCITP: SQL Server 2008, MVP Cloudera Certified Developer for Apache Hadoop On Wed, Mar 13, 2013 at 6:27 PM, Kevin Burton wrote: > So the only change you made was to enable search for the bucket. And since > I am not using search (just trying t

Re: Error interpretation

2013-03-13 Thread Tony Schwartz
Hi, I was struggling with an error that produced that error message. My solution was to set the default bucket properties in app.config. I set allow_mult to false and last_write_wins to true. Go to app.config and under 'riak_core', you can add the 'default bucket props' as shown here: http://do

RE: Error interpretation

2013-03-13 Thread Kevin Burton
Thanks again. You solved it!!. I am not sure how the bucket properties were set in this way but I changed back to the default and it works again. The key property in this case was 'precommit'. Now that this property is suspect can we offer an explanation? I have highlighted the changed properties

Re: Error interpretation

2013-03-13 Thread Tony Schwartz
The combination of allow_mult: true and the precommit "riak_search_kv_hook" is the issue. But this is only true if its set in the default props. Search and conflict resolution can work together, but apparently search creates hidden buckets behind the scenes that go off the default bucket properti

Re: Error interpretation

2013-03-13 Thread Jeremiah Peschka
This is gold! Thanks for sharing the ultimate cause of Kevin's error. On Wednesday, March 13, 2013, Tony Schwartz wrote: > The combination of allow_mult: true and the precommit > "riak_search_kv_hook" is the issue. But this is only true if its set in > the default props. > > Search and conflict