Skip to content
Browse files

it's hashes, duh.

  • Loading branch information...
1 parent 45dc1ca commit 4318838a4973e101f52ffd02f6a3e92da1700dd9 @lstoll committed Feb 17, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5
@@ -1,18 +1,18 @@
-= Gotchas
+# Gotchas
Content type for json must be application/javascript, not application/json . Also it must use double quotes for strings, single seemingly will silently fail
If you want to have multiple map phases, the first map phase should return [bucket,key] pairs for the next phase
-= Some hints
+# Some hints
-== Submit a query
+## Submit a query
curl -X POST -H "content-type: application/json" http://localhost:8098/mapred --data @-
Then enter the query json, return, ^D
-== Connect an erlang process
+## Connect an erlang process
# replace linc with your machines hostname
/usr/local/Cellar/riak/0.8/erts-5.7.4/bin/erl -setcookie riak -name linc@
@@ -26,7 +26,7 @@ Then enter the query json, return, ^D
(linc@> {ok, C} = riak:client_connect(RiakNode).
-== Bulk delete from an erlang process
+## Bulk delete from an erlang process
This can probably be done more effiecently with key streaming. Look into mapred_bucket

0 comments on commit 4318838

Please sign in to comment.
Something went wrong with that request. Please try again.