Re: map reduce on multiple buckets

2016-01-28 Thread Eugene Shubin
puts to a map phase > have this restriction too. > > How many buckets are you trying to MR across, and also what type of MR > operation are you trying to do? There may be another way to get around this > restriction. > > Thanks, > Alex > > On Thu, Jan 28, 2016 at 8:

map reduce on multiple buckets

2016-01-28 Thread Eugene Shubin
Is it possible to run mapreduce job on two or more buckets? I see from documentation that it might be possible if I specify inputs as list of {bucket, key} pairs, although list of secondary index inputs causes an error: riakc_pb_socket:mapred(P, [ {index, Bucket1, Index1, From, To}, {index,

mapreduce timeout

2016-01-21 Thread Eugene Shubin
Hello, I have a mapreduce job, which is supposed to take long. I invoke it via http interface with timeout value set to 12. Curl script terminates in 60 minutes without any returned value with exit status 0. Is that a curl timeout being triggered or some server-side timeout? Does the job c

Re: Map after reduce

2016-01-15 Thread Eugene Shubin
Did somebody successfully used trick described here <http://cartesianfaith.com/2011/07/27/mapreduce-tips-and-tricks-in-riak/> to pass reduce results to map phase? For me it does not work and looks strange in general. 2016-01-13 13:55 GMT+01:00 Eugene Shubin : > Is it possible to put a

Secondary indexes do not work with leveldb and write_once?

2016-01-13 Thread Eugene Shubin
Hello, I am using riak 2.1.3 with leveldb backend. Secondary indexes do not return me anything if bucket type has write_once option set to true. Record is accessible buy key and has index in metadata. It works though for other bucket types. Is it bug or undocumented constraint? Best, Eugene

Re: CRDT appending

2016-01-13 Thread Eugene Shubin
UpdateMap.Builder(location, changes).build(); > client.execute(update); > > Also, take into account that there is a practical limitation of the size > of a CRDT. Usually it's up to 100-200 KB of raw data. > > Regards, > Vitaly > > On Wed, Jan 13, 2016 at 2:54 PM, Eugen

Map after reduce

2016-01-13 Thread Eugene Shubin
Is it possible to put a map phase in chain of map-reduce job after reduce phase? Any example, would be highly appreciated. Best regards, Eugene Shubin ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak

CRDT appending

2016-01-13 Thread Eugene Shubin
With CRDT it's not possible to append a value to map or set without fetching previous values. Is that a normal use case for CRDT, I am asking because insertion time is terribly high. Best regards, Eugene Shubin ___ riak-users mailing list riak-