Hello, Anyone tried to use MR with counters?
I'm trying with the following steps: Increment the counter: -> curl -X POST http://localhost:8098/buckets/BUCKET/counters/MY_COUNTER -d 1 Confirm the actual value: -> curl http://localhost:8098/buckets/BUCKET/counters/MY_COUNTER *1* Execute mapreduce: -> curl -X POST -H "content-type: application/json" http://127.0.0.1:8098/mapred -d @map_red.js *{"error":"bad_utf8_character_code"} * Where the map_red.js is: { "inputs":"BUCKET", "query":[ {"map":{"language":"javascript","name":"Riak.mapValues"}} ,{"reduce":{"language":"javascript","name":"Riak.reduceSum"}} ] } []'s [image: Ideais Tecnologia] *João Machado*[email protected].: 55 21 3553 1301 R: 215Cel.: 55 21 8124 3531Site: www.ideais.com.br
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
