On Sat, Apr 24, 2010 at 7:31 AM, Alexander Sicular <[email protected]>wrote:
> Hi, > > Here is some curl output that should get me a 200 OK, but instead I'm > getting a 500: > > macpro1:dev siculars$ curl -i http://localhost:8098/riak/test-bucket-1/10 > HTTP/1.1 200 OK > X-Riak-Vclock: a85hYGBgymDKBVIsbLoK3hlMiYx5rAytlu5H+SDCbM1JbOZG+VCJXpBEFgA= > Vary: Accept-Encoding > Server: MochiWeb/1.1 WebMachine/1.6 (eat around the stinger) > Link: </riak/test-bucket-1>; rel="up" > Last-Modified: Sat, 24 Apr 2010 09:44:45 GMT > ETag: 5RdHI4GyS3P3d9BovqQEcs > Date: Sat, 24 Apr 2010 11:19:04 GMT > Content-Type: application/json > Content-Length: 84 > > > {"numVal":65486915222,"staticStringVal":"test_string","dynStringVal":"'roeNiGNJCS'"} > > macpro1:dev siculars$ curl -v -d '{"inputs":"test-bucket-1", > "query":[{"map":{"language":"javascript","bucket":"test-bucket-1","key":"10", > "keep":true}}]}' -H "Content-Type: application/json" > http://127.0.0.1:8098/mapred > > Not sure with regards to the airport-test itself but in your rmapred call above, "test-bucket-1/10" should point to a Javascript function (stored in that riak obj). Regards, -Eric
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
