MapRed by HTTP to bucket_type

niedomnie niedomnie at gmail.com
Thu Dec 4 02:23:57 EST 2014


How should look inputs for mapreduce job in HTTP

something like this is working on default bucket_type

curl -s -X POST -H "Content-Type: application/json"
http://localhost:8098/mapred -d
'{"inputs":{"bucket":"history100","key_filters":[["starts_with", "2014"]]},
"query":[{"map":{"language":"javascript", "name":"Riak.mapValues"}} ]}'

how to change it to work on other bucket_type?




--
View this message in context: http://riak-users.197444.n3.nabble.com/MapRed-by-HTTP-to-bucket-type-tp4032225.html
Sent from the Riak Users mailing list archive at Nabble.com.




More information about the riak-users mailing list