Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 57bd7b4b6c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (24 sloc) 0.54 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# 998: gqFY0QPmoVnRA+c=
# 999: gqFY0QPnoVnRA+c=

DATA=$(cat <<EOF
{
"inputs": {
"bucket": "ShipLocation",
"index": "Coords_bin",
"key": "gqFY0QPmoVnRA+c=",
"keep": "true"
},
"query": [
{
"map": {
"language": "erlang",
"module": "riak_kv_mapreduce",
"function": "map_object_value"
}
}
]
}
EOF
)
echo -n $DATA | curl -v http://localhost:8098/mapred -H 'Content-Type: application/json' --data-binary @-
echo
Something went wrong with that request. Please try again.