com.mongodb.MongoCursorNotFoundException:查询失败,错误代码为-5,错误消息为';在服务器localhost:27017';上找不到游标宾塔霍
在Pentaho中从MongoDB获取一百万条记录时出现此错误(水壶作业)com.mongodb.MongoCursorNotFoundException:查询失败,错误代码为-5,错误消息为';在服务器localhost:27017';上找不到游标宾塔霍,mongodb,pentaho,Mongodb,Pentaho,在Pentaho中从MongoDB获取一百万条记录时出现此错误(水壶作业) org.pentaho.di.core.exception.KettleException: com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 228642925761 not found on server localhost:27017' on server loca
org.pentaho.di.core.exception.KettleException:
com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 228642925761 not found on server localhost:27017' on server localhost:27017
Query failed with error code -5 and error message 'Cursor 228642925761 not found on server localhost:27017' on server localhost:27017
at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:137)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 228642925761 not found on server localhost:27017' on server localhost:27017
at com.mongodb.operation.QueryHelper.translateCommandException(QueryHelper.java:27)
at com.mongodb.operation.QueryBatchCursor.getMore(QueryBatchCursor.java:215)
at com.mongodb.operation.QueryBatchCursor.hasNext(QueryBatchCursor.java:103)
at com.mongodb.MongoBatchCursorAdapter.hasNext(MongoBatchCursorAdapter.java:46)
at com.mongodb.DBCursor.hasNext(DBCursor.java:155)
at org.pentaho.mongo.wrapper.cursor.DefaultCursorWrapper.hasNext(DefaultCursorWrapper.java:34)
at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:87)
... 2 more
2021/05/17 16:24:20 - MongoDB Input.0 - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : Unexpected error
2021/05/17 16:24:20 - MongoDB Input.0 - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : org.pentaho.di.core.exception.KettleException:
2021/05/17 16:24:20 - MongoDB Input.0 - com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 228642925761 not found on server localhost:27017' on server localhost:27017
2021/05/17 16:24:20 - MongoDB Input.0 - Query failed with error code -5 and error message 'Cursor 228642925761 not found on server localhost:27017' on server localhost:27017 ```