Re: Riak Node Failure

2013-01-14 Thread Venki Yedidha
Hi Pavel, Are all the nodes in the riak cluster are of the same configuration? Is the node that is stopped is of the same configuration as others? Can you paste the `riak console` error here? Thanks, Venkatesh On Mon, Jan 14, 2013 at 9:49 AM, Pavel Kogan wrote: > Hi all, > > I am runn

M/R timeout

2012-12-11 Thread Venki Yedidha
Hi All, I am getting error:timeout when I am trying to run an m/r job on 9600 bucket/key pairs..I am writing m/r in javascript..I would like to know how I can improve the performance of an m/r job in general..I tried increasing timeout factor to 15 but still the same error..I am running on

Re: calculate the data storage amount

2012-11-28 Thread Venki Yedidha
t really know (without digging into the Erlang > console) where specific keys live. That said, we have done it for customers > who have had specific production issues related to large keys, but this is > not something we recommend doing in general. > > > On Wed, Nov 28, 2012

Re: calculate the data storage amount

2012-11-27 Thread Venki Yedidha
ed, Nov 21, 2012 at 5:24 AM, Mark Phillips wrote: > Hi Venki > > On Sun, Nov 18, 2012 at 10:11 PM, Venki Yedidha > wrote: > > Hi All, > > I would like to know the data storage of my riak database till > date. > > Also, I would like to know the space occupied o

calculate the data storage amount

2012-11-18 Thread Venki Yedidha
Hi All, I would like to know the data storage of my riak database till date. Also, I would like to know the space occupied on a riak cluster by a bucket/key's data inserted. am running all the nodes(in the cluster) on eleveldb backend. Thanks, Venkatesh _

Re: timeout error for size>40k & changing q_limit has no affect

2012-11-14 Thread Venki Yedidha
plan). > > Mark > > On Sat, Sep 8, 2012 at 3:46 AM, Venki Yedidha > wrote: > > Hi All, > > > > I am getting the following error code from Riak when I execute my > map > > reduce.. > > > > > {"phase":0,"error":"

node failure

2012-10-29 Thread Venki Yedidha
Hi All, I have a five node riak cluster running from the past three months.Daily we are dumping huge data into the cluster..Somehow, I came to notice that one of the nodes went down..we thought of removing that node from the cluster because it is of very low configuration when compared to other

riak failure on concurrent writes

2012-10-03 Thread Venki Yedidha
Hi All, Now that I have a 5 node riak cluster of which all are running on eleveldb backend(4 GB ram for each node), I am trying to insert appr: 34000 objects on one of the riak node in the cluster through riak-erlang client asynchronously...Its failing after some time to accept inserts...D

Re: key not found in map reduce

2012-09-30 Thread Venki Yedidha
Hi Mridul, You can use filterNotFound from mapred_builtins.js... usage format in reduce phase: return Riak.filterNotFound(your_object_passed _from_map_phase); Thanks, Venkatesh On Sun, Sep 30, 2012 at 2:59 PM, Mridul Kashatria wrote: > Hi, > > I'm a beginner with Riak and

migrate from bitcask to eleveldb with out losing data from bitcask

2012-09-28 Thread Venki Yedidha
Hi All, How to migrate from bitcask to eleveldb with out losing data from bitcask? Thanks, Venkatesh ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

riak join a node( with data) to a cluster

2012-09-21 Thread Venki Yedidha
Hi All, I have a riak cluster setup with hosts say A and B..now I want to join a new host C to the cluster but here is the problem.. Host C has huge data which is not part of any cluster...I populated its data by taking backup from basho bitcask backups...It worked fine with u

timeout error for size>40k & changing q_limit has no affect

2012-09-08 Thread Venki Yedidha
Hi All, I am getting the following error code from Riak when I execute my map reduce.. {"phase":0,"error":"[timeout]","input":"{<<\"20120708\">>,<<\"JM\">>}","type":"forward_preflist","stack":"[]"} This was happening from the past two days when my [bucket,key] count went huge upto 40k..

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"

value.key not working for passed json inside map function

2012-08-23 Thread Venki Yedidha
Hi All, I have a map function which takes inputs for all countries: my bucket format is [["20120822","IN"],["20120822","IS"],["20120822","CN"],["20120822","US"],["20120822","AS"],["20120822","JP"]] my json format is : $m=' { "IN": { "Internetusers": "12816",

Ignore undefined buckets and proceed with the next..

2012-08-12 Thread Venki Yedidha
Hi All, I am retrieving data from buckets (dateranges)..In some cases, I don't have data available for a bucket(date) in between, I would like to ignore such buckets and retrieve data from the next bucket(existing) with out raising bucket not found error. Thanks, Venkatesh.Y __

send params to stored map function

2012-07-11 Thread Venki Yedidha
Hi All, I would like to know how I can pass json arguments to a function already stored under bucket/key..The map/reduce function is in javascript and I need to send parameters through php. Thanks, Venkatesh ___ riak-users mailing list riak-user

Re: return[{value.key : data}] problem

2012-07-11 Thread Venki Yedidha
turn [res]; > > Using something like var res={key:value}; also did not work, as far as I > remember. > > Maybe others could shed some light on this. > > -- > Yousuf > > > On Wed, Jul 11, 2012 at 4:12 PM, Yousuf Fauzan wrote: > >> What the reduce function t

return[{value.key : data}] problem

2012-07-11 Thread Venki Yedidha
Hi All, I am stuck with Riak group by using json object.. when I am returning some thing like this: return [value.key] or return[value.bucket].. It is going to reduce function and giving output.. But, when I try something like: return [{value.key : data}] It is throwing error

group by country

2012-07-08 Thread Venki Yedidha
Hi All, Can anyone help me how I can use group by function in Riak map function written in javascript. I just want to group by Country where my key value is my Country name. return [obj]; // works fine return [{value.key : [obj]}] // Not working obj is a json object. Thank

Re: Pass json as argument to mapreduce

2012-07-05 Thread Venki Yedidha
above. Thanks, Venkatesh On Thu, Jul 5, 2012 at 9:07 PM, Mathias Meyer wrote: > Venki, > > The parameter name is arg not args. Also, you were talking about some sort > of error you're getting, but I couldn't see one in the listing below. > > Cheers, Mathias > ht

Re: Pass json as argument to mapreduce

2012-07-05 Thread Venki Yedidha
e: > Venki, > > You don't have to serialize the argument as a JSON string, it can simply > be specified as a normal JSON data structure, just like the other data in > the MapReduce request: > > curl -v -d '{"inputs":[["artists", "Beatles"]], > &qu

Pass json as argument to mapreduce

2012-07-03 Thread Venki Yedidha
Hi all, I don't know why, I can't pass a json argument to map function. "inputs":"[b1,k1],[b2,k2],[b3,k3]" "query":[{map":{"language":"javascript","source":"function(value,keydata,args){}" for the args parameter I need to pass json of the form: {\"name\":\"venkatesh\",\"age\":2

args format for map function --> not accepting json format

2012-07-03 Thread Venki Yedidha
Hi All, Can anyone help me how I can send the json data as an args parameter to the map function... My data is in this format: {\"gender\":[\"G0\",\"G1\"],\"agegroups\":[\"A2\",\"A4\"],\"requests\":[\"users\",\"cpc_median\"],\"groupby\":[\"country\"]} I escaped wi

map function->send arguments and store in bucket->key

2012-07-03 Thread Venki Yedidha
Hi All, I wrote a map function to retrieve statistics for a particular data. However, I want to make this function accessible for many other data retrievals. For this, I need to send arguments to my function written in javascript. I didn't find examples on sending arguments to map f

link with out changing data

2012-06-25 Thread Venki Yedidha
Hi All, I am using links to store my data. I will insert data regarding my country first and then I will link this country to cities when each city object is inserted. However, It is not allowing me to link this country to cities with out changing data of the countr

link walking- get a single object from 1000 objects with tag 'city'

2012-06-25 Thread Venki Yedidha
Hi All, I have a document in which my Riak object is linked with tag name 'city' to nearly 1000 other objects. However, If I use /bucketname/keyname/_,city,1 It lists me all cities linked with my object. Instead of re