DBClientCursor::init call() failed

409 views
Skip to first unread message

Tom Vo

unread,
May 10, 2012, 10:41:38 PM5/10/12
to mongodb-user
Dear all
We faced out problem when run map/reduce to output another
collections. It's warning : "DBClientCursor::init call() failed".
Numbers of documents on collections are 1.5 million.
Please help us support this problem.
Thanks and best regards.


===Logs error================================
Thu May 10 22:39:33 DBClientCursor::init call() failed
Thu May 10 22:39:33 query failed : FPS_SUB.$cmd { mapreduce:
"Associations", map: function Map() {
emit({Name:this.Account.UserName, Times:_Times}, ..., reduce:
function Reduce(key, values) {
var Number = 0;
values.forEach(..., query: { TransDate: { $gte: new
Date(1336617544383), $lte: new Date(1336703944383) } }, out: { merge:
"MR_Temp", db: "FPS_RPT" }, scop
e: { _Times: 1 }, verbose: true, jsMode: true } to: 127.0.0.1:27036
Thu May 10 22:39:33 Error: error doing query: failed shell/
collection.js:151

Randolph Tan

unread,
May 11, 2012, 2:34:32 PM5/11/12
to mongod...@googlegroups.com
Hi,

Where did you get the logs? Is this from mongos? Which version are you using?
Did this resolve eventually or do you always get this error?

Thanks!

HARUN YARDIMCI

unread,
Nov 9, 2012, 4:10:48 AM11/9/12
to mongod...@googlegroups.com
Hi, 

Did you fix this? If so, can you please tell me how? 

I have the same error message in my mongos log with version 2.2.1. At 04:22 my mongod instance is closed somehow and there is nothing in the mongod.log.


Fri Nov  9 04:05:22 [WriteBackListener-mng04.host.net:27018] DBClientCursor::init call() failed
Fri Nov  9 04:05:22 [WriteBackListener-mng04.host.net:27018] WriteBackListener exception : DBClientBase::findN: transport error: mng04.host.net:27018 ns: admin.$cmd query: { writebacklisten: ObjectId('50922be011f97b9e1172aff0'), $auth: { local: { __system: 2 } } }
Fri Nov  9 04:05:22 [conn57437] DBClientCursor::init lazy say() failed
Fri Nov  9 04:05:22 [conn57437] DBClientCursor::init message from say() was empty
Fri Nov  9 04:05:22 [conn57048] DBClientCursor::init lazy say() failed
Fri Nov  9 04:05:22 [conn57048] DBClientCursor::init message from say() was empty
Fri Nov  9 04:05:22 [conn72706] DBClientCursor::init lazy say() failed
Fri Nov  9 04:05:22 [conn72706] DBClientCursor::init message from say() was empty
Fri Nov  9 04:05:22 [conn72753] DBClientCursor::init lazy say() failed
Fri Nov  9 04:05:22 [conn72753] DBClientCursor::init message from say() was empty
Fri Nov  9 04:05:22 [conn57437] got not master for: mng04.host.net:27018
Fri Nov  9 04:05:22 [conn57048] got not master for: mng04.host.net:27018
Fri Nov  9 04:05:22 [conn72706] got not master for: mng04.host.net:27018
Fri Nov  9 04:05:22 [conn72753] got not master for: mng04.host.net:27018
Fri Nov  9 04:05:23 [ReplicaSetMonitorWatcher] Primary for replica set set02 changed to mng03.host.net:27018
Fri Nov  9 04:05:23 [ReplicaSetMonitorWatcher] DBClientCursor::init call() failed
Fri Nov  9 04:05:23 [WriteBackListener-mng04.host.net:27018] DBClientCursor::init call() failed
Fri Nov  9 04:05:23 [WriteBackListener-mng04.host.net:27018] WriteBackListener exception : DBClientBase::findN: transport error: mng04.host.net:27018 ns: admin.$cmd query: { writebacklisten: ObjectId('50922be011f97b9e1172aff0'), $auth: { local: { __system: 2 } } }
Reply all
Reply to author
Forward
0 new messages