> db.mr.mapReduce(function() { emit("test",ObjectId()) }, function ( k , v ) { return { test : ObjectId() } }, { out : "mr_out" })
|
Tue Mar 12 19:17:34.004 [conn1] CMD: drop test.tmp.mr.mr_0
|
Tue Mar 12 19:17:34.004 [conn1] CMD: drop test.tmp.mr.mr_0_inc
|
Tue Mar 12 19:17:34.005 [conn1] build index test.tmp.mr.mr_0_inc { 0: 1 }
|
Tue Mar 12 19:17:34.006 [conn1] build index done. scanned 0 total records. 0.001 secs
|
Tue Mar 12 19:17:34.006 [conn1] build index test.tmp.mr.mr_0 { _id: 1 }
|
Tue Mar 12 19:17:34.007 [conn1] build index done. scanned 0 total records. 0 secs
|
Tue Mar 12 19:17:34.007 [conn1] JS Error: ReferenceError: ObjectId is not defined nofile_b:1
|
Tue Mar 12 19:17:34.009 [conn1] CMD: drop test.tmp.mr.mr_0
|
Tue Mar 12 19:17:34.010 [conn1] CMD: drop test.tmp.mr.mr_0_inc
|
Tue Mar 12 19:17:34.010 [conn1] mr failed, removing collection :: caused by :: 9014 map invoke failed: JS Error: ReferenceError: ObjectId is not defined nofile_b:1
|
Tue Mar 12 19:17:34.011 [conn1] CMD: drop test.tmp.mr.mr_0
|
Tue Mar 12 19:17:34.011 [conn1] CMD: drop test.tmp.mr.mr_0_inc
|
Tue Mar 12 19:17:34.013 uncaught exception: map reduce failed:{
|
"errmsg" : "exception: map invoke failed: JS Error: ReferenceError: ObjectId is not defined nofile_b:1",
|
"code" : 9014,
|
"ok" : 0
|
}
|
>
|