empty list when running the mapreduce script

Sean Cribbs sean at basho.com
Thu May 6 09:16:30 EDT 2010


You've misspelled Riak.mapValuesJson.  Also, to make sure the data was actually loaded, try requesting just the bucket, perhaps with keys=stream:

curl http://localhost:8091/riak/goog?keys=stream

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On May 6, 2010, at 2:49 AM, Norman Khine wrote:

> hello,
> I am following the  "The Riak Fast Track " but i am getting an empty
> list when running the
> mapreduce script:
> 
> aqoon:dev khinester$ curl -X POST http://127.0.0.1:8091/mapred -H
> "Content-Type: application/json" -d @-
> {"inputs": "goog",
> "query": [{"map": {"language":"javascript",
>          "name":"Riak.mapValueJson",
>          "keep":true}}
>       ]
> }
> []aqoon:dev khinester$
> 
> i have loaded the goog.csv file as per the guide.
> 
> what am i missing?
> 
> thanks
> 
> norman
> 
> -- 
> ¿noʎ uɐɔ uʍop ǝpısdn ǝʇıɹʍ uɐɔ ı - %>>> "".join( [
> {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in
> ",adym,*)&uzq^zqf" ] )
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list