Re: Forming inputs to MR job

2015-12-30 Thread Bryan Hunt
Take a look at this:https://gist.github.com/binarytemple/6bf84b041db0fabbdc74Specifically : Sample mapreduce job section

Re: Forming inputs to MR job

2015-12-30 Thread Alex Moore
Hi Timur, For your inputs line, try: "inputs":["mybucket_type", "mybucket"] Thanks, Alex On Wed, Dec 30, 2015 at 3:01 PM Timur Fayruzov wrote: > Hello, > > I'm trying to write a simple MR job using Javascript and hit a wall right > at start. I can't figure out how to specify "inputs". Here's

Forming inputs to MR job

2015-12-30 Thread Timur Fayruzov
Hello, I'm trying to write a simple MR job using Javascript and hit a wall right at start. I can't figure out how to specify "inputs". Here's the code: curl -XPOST "my_riak_server:8098/mapred" -H "Content-Type: application/json" -d @-