Re: How to search objects using riak_search method

2012-08-30 Thread 郎咸武
anyone may reply me,thanks a lot. 在 2012年8月30日星期四,郎咸武 写道: > who can give me some idea > > 在 2012年8月30日星期四,郎咸武 写道: > > Hi guys, >I need your help. > > Version: > 1)riak-erlang-client-1.3 > 2)riak-1.2 > 3)Erlang R14B04 (erts-5.8.5) [source] [64-bit] > > This is my bucket attributs in the fo

Re: 'forward_preflist' error in MapReduce

2012-08-30 Thread Matthew Tovbin
No, 1.1.2 -Matthew On Thu, Aug 30, 2012 at 5:20 PM, Mark Phillips wrote: > Hi Matthew, > > Riak 1.2? > > Mark > > > On Aug 31, 2012, at 0:58, Matthew Tovbin wrote: > >> Howdy Riak Users, >> >> Recently I discovered that my MapReduce job, that used to run >> successfully, stopped working. >> He

Re: 'forward_preflist' error in MapReduce

2012-08-30 Thread Mark Phillips
Hi Matthew, Riak 1.2? Mark On Aug 31, 2012, at 0:58, Matthew Tovbin wrote: > Howdy Riak Users, > > Recently I discovered that my MapReduce job, that used to run > successfully, stopped working. > Here is the error: > {"phase":0,"error":"[timeout]","input":"{<<\"test\">>,<<\"123\">>}","type":

'forward_preflist' error in MapReduce

2012-08-30 Thread Matthew Tovbin
Howdy Riak Users, Recently I discovered that my MapReduce job, that used to run successfully, stopped working. Here is the error: {"phase":0,"error":"[timeout]","input":"{<<\"test\">>,<<\"123\">>}","type":"forward_preflist","stack":"[]"} Is anyone familiar with this problem? How can I make it to

Re: Bad MapReduce job brings the Riak to a screeching halt?

2012-08-30 Thread Brad Heller
Hey Kelly, Bryan, Thanks for the replies. Good to hear this is being worked on! And sorry I didn't elaborate on "crashed." In this instance crashed meant "stopped taking connections on the HTTP interface." I didn't check to see if the Beam processes died (I think they did as load decreased). I

Re: Bad MapReduce job brings the Riak to a screeching halt?

2012-08-30 Thread Kelly McLaughlin
On Aug 29, 2012, at 9:07 PM, Brad Heller wrote: > > So my question is: Why did this completely kill Riak? This makes me pretty > nervous--a bug in our app has the potential to bring down the ring! Is there > anything we can do to protect against this? > Riak 1.2 had a lot of changes to level

Re: Riak behind a Load Balancer

2012-08-30 Thread Sean Carey
Matt, Haproxy is my load balancer of choice. You can always run multiple copies of haproxy and use some type of dynamic dns with it. We do this in many cases. Haproxy scales well. I've seen a single node sustain multiple gigabits per second with almost no sweat. Thanks. Sean On Monda

Re: Questions around Riak "these days"

2012-08-30 Thread Mark Phillips
On Tue, Aug 28, 2012 at 6:46 PM, Mike Oxford wrote: > On Mon, Aug 27, 2012 at 10:56 PM, Mark Phillips wrote: >> >> Hi mox, >> >> Welcome back. :) >> > > Thanks, good to be back. Been an odd run lately. > >> >> As it stands right now, no. Still plain old boring Riak. If you want >> custom resolut

Specified w/dw/pw values invalid for bucket n value of 1

2012-08-30 Thread Ingo Rockel
Hi List, I'm trying to set the n-val to 1 for my single-node test server but do always fail with the following error: Specified w/dw/pw values invalid for bucket n value of 1 This is my bucket configuration: {"props":{"allow_mult":false,"basic_quorum":false,"big_vclock":50,"chash_keyfun":{"m

Re: Data loads

2012-08-30 Thread Reid Draper
Welcome to the list Pinney :) On Aug 30, 2012, at 10:59 AM, Pinney Colton wrote: > Hi all - > > This is my first post to the list. I'm a relative Riak newbie, though I have > some experience working with multi-terabyte datasets on other platforms. > Last night, I kicked off my first "large

Data loads

2012-08-30 Thread Pinney Colton
Hi all - This is my first post to the list. I'm a relative Riak newbie, though I have some experience working with multi-terabyte datasets on other platforms. Last night, I kicked off my first "large" load of data as a test of the platform with about 1,000,000 json objects being loaded into a bu

Re: How to search objects using riak_search method

2012-08-30 Thread 郎咸武
who can give me some idea 在 2012年8月30日星期四,郎咸武 写道: > Hi guys, >I need your help. > > Version: > 1)riak-erlang-client-1.3 > 2)riak-1.2 > 3)Erlang R14B04 (erts-5.8.5) [source] [64-bit] > > This is my bucket attributs in the following > > (riak@127.0.0.1 )52> {ok,C} > = riak:local_client(). >

Re: Bad MapReduce job brings the Riak to a screeching halt?

2012-08-30 Thread Bryan Fink
On Wed, Aug 29, 2012 at 11:07 PM, Brad Heller wrote: > The issue I'm facing: I tried to run an improperly-formatted MapReduce job > against a bucket with about 45k keys in it and it seemed to crash Riak. …snip… > So my question is: Why did this completely kill Riak? This makes me pretty > nervou

Re: how to do a key filter using the python api for map reduce

2012-08-30 Thread David Montgomery
I did not scroll down far enough in the api docs regarding python. Problem solved. Sent from my iPad On Aug 30, 2012, at 6:51 PM, David Montgomery wrote: > Hi, > > I am using the python api. > > I need to do a key filter kinda like this. > > > "inputs":{ > "bucket":"impressions" >

how to do a key filter using the python api for map reduce

2012-08-30 Thread David Montgomery
Hi, I am using the python api. I need to do a key filter kinda like this. "inputs":{ "bucket":"impressions" "key_filters":[["tokenize", ":", 2],["starts_with", "2012"]] }, But from the python api docs...I have a query that looks like this. query = client.add('impressions') qu

sumup all the corresponding values

2012-08-30 Thread Venki Yedidha
Hi All, I have a json generated from the map function like this: [{"Africa":{"BW":{"female":{"all":109100,"a_13_17":12700,"a_18_24":41640,"a_25_34":34140,"a_35_44":9280,"a_45_54":3040,"a_55_64":1300,"a_65":6960},"male":{"all":131360,"a_13_17":16660,"a_18_24":44780,"a_25_34":39840,"a_35_44"