Re: Riak mapreduce w/ bucket types

2014-10-30 Thread Cezary Kosko
Thanks a lot! Could you also tell me: Do I access the data just as I would a regular KV pair? Kind regards, Cezary 2014-10-30 20:01 GMT+01:00 Brian Roach : > Hello Cezary, > > You need to supply the bucket type as part of the inputs: > > { "inputs":["sets","987"], ... } > > Thanks, > - Roach >

Re: Can't set long node name. Ubuntu 14.04

2014-10-30 Thread Ebbinge
Allright, up and running, I was talking about this command riak-admin status | grep ring which is how the info about the ring is gotten :) But that's done, and it says It has a size of 16. Thank you so much for your help, If I have any question, I'll use this thread to get to you :) -- View thi

Re: Can't set long node name. Ubuntu 14.04

2014-10-30 Thread Luke Bakken
> How can I get the info of the ring Luke? I'm not sure what you mean, but the following setting is how you configure ring size: http://docs.basho.com/riak/latest/ops/building/configuration/#Ring-Size > And I have another, so all the replication and fragmentation things, Riak > does it by itself

Re: Can't set long node name. Ubuntu 14.04

2014-10-30 Thread Ebbinge
Yup. Done :) How can I get the info of the ring Luke? And I have another, so all the replication and fragmentation things, Riak does it by itself? I am sure, I am gonna have more questions along the project, I am sure, hope you don't mind haha. -- View this message in context: http://riak-us

Re: Riak mapreduce w/ bucket types

2014-10-30 Thread Brian Roach
Hello Cezary, You need to supply the bucket type as part of the inputs: { "inputs":["sets","987"], ... } Thanks, - Roach On Thu, Oct 30, 2014 at 11:51 AM, Cezary Kosko wrote: > Hi, > I was trying to run a mapreduce job on a bucket of sets (the default 'sets' > setup from Riak docs). However, r

Riak mapreduce w/ bucket types

2014-10-30 Thread Cezary Kosko
Hi, I was trying to run a mapreduce job on a bucket of sets (the default 'sets' setup from Riak docs). However, running https://gist.github.com/cezary-ytrre/d707ee2f13911c274d69 on a node returns [] while a simple 'curl localhost:8098/types/sets/buckets/987/datatypes/general' returns a perfectly va

Re: Can't set long node name. Ubuntu 14.04

2014-10-30 Thread Luke Bakken
Hi, Actually the Riak defaults will suit you fine for n_val and other bucket properties. You may want to reduce ring size from 64 to 16 since it'll be a small cluster. If you reduce ring size, you'll want to execute the "rm" command I provided to clear out data and configuration, then re-start you

Re: Can't set long node name. Ubuntu 14.04

2014-10-30 Thread Ebbinge
Hello Luke, I've been reading some documentation and now I have a greater clue. I want to set a 3-node cluster, according to what I read I have to set the target_n_val = 3 and then, from the app that I have to develop, create buckets with an n_val = 3 as well, so data can be replicated on the 3 nod

Re: Running MapReduce when deleting record is causing bad_utf8_character_code error

2014-10-30 Thread Naveen Tamanam
HI Luke, My problem got solved. Joe Caswell helped me that, A Riak tombstone is an ordinary Riak object with a 0-length value (<<>>) and X-Riak-Deleted set to true in the metadata. The docs ( http://docs.basho.com/riak/latest/dev/advanced/mapreduce/) suggest checking for X-Riak-Deleted:true in