-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
Labels:
-
Environment:Ubuntu 12.04 LTS 32bit MongoDB 2.4.6
*Location*: http://docs.mongodb.org/manual/reference/command/mapReduce/#dbcmd.mapReduce
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/core/map-reduce/
*Screen Resolution*: 1440 x 900
*repo*: docs
*source*: reference/command/mapReduce
Ubuntu 12.04 LTS 32bit MongoDB 2.4.6 *Location*: http://docs.mongodb.org/manual/reference/command/mapReduce/#dbcmd.mapReduce *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/core/map-reduce/ *Screen Resolution*: 1440 x 900 *repo*: docs *source*: reference/command/mapReduce
MongoDB 2.4.6 only run map-reduce with db.runCommand(
{ mapreduce: 'test', ...}), not with the documentation suggested uppercase spelling: "mapReduce"
mongos> db.test.runCommand(
{ mapReduce: 'test', ... , out: 'inline' });
{ "ok" : 0, "errmsg" : "no such cmd: mapReduce" }mongos> db.test.runCommand(
{ mapreduce: 'test', ... , out: 'inline' });
{ ... "ok" : 1 }- is related to
-
SERVER-11003 discrepancy on mapReduce and mapreduce command
- Closed