Six Stars

tmongoDBInput CURSOR error

 

Hello, i have a strange problem with a job.

This is a big job who make requests in mongoDB base. Few Talend subjobs lines map can read more than 120 000 000 rows.

This job work fine every day, but nowaday and yesterday, i get this error :

 

Exception in component tMongoDBInput_6
com.mongodb.MongoException$CursorNotFound: Cursor 7735397135559742070 not found on server pla******
at com.mongodb.QueryResultIterator.throwOnQueryFailure(QueryResultIterator.java:250)
at com.mongodb.QueryResultIterator.init(QueryResultIterator.java:224)
at com.mongodb.QueryResultIterator.initFromQueryResponse(QueryResultIterator.java:184)
at com.mongodb.QueryResultIterator.getMore(QueryResultIterator.java:149)
at com.mongodb.QueryResultIterator.hasNext(QueryResultIterator.java:135)
at com.mongodb.DBCursor._hasNext(DBCursor.java:626)
at com.mongodb.DBCursor.hasNext(DBCursor.java:657)
at local_project.kpi_quotidienvalorisationbilrun_test_0_1.KPI_quotidienValorisationBILRUN_TEST.tMongoDBInput_6Process(KPI_quotidienValorisationBILRUN_TEST.java:5019)
at local_project.kpi_quotidienvalorisationbilrun_test_0_1.KPI_quotidienValorisationBILRUN_TEST.tMongoDBInput_2Process(KPI_quotidienValorisationBILRUN_TEST.java:3602)
at local_project.kpi_quotidienvalorisationbilrun_test_0_1.KPI_quotidienValorisationBILRUN_TEST.tSetGlobalVar_1Process(KPI_quotidienValorisationBILRUN_TEST.java:17374)
at local_project.kpi_quotidienvalorisationbilrun_test_0_1.KPI_quotidienValorisationBILRUN_TEST.runJobInTOS(KPI_quotidienValorisationBILRUN_TEST.java:25622)
at local_project.kpi_quotidienvalorisationbilrun_test_0_1.KPI_quotidienValorisationBILRUN_TEST.main(KPI_quotidienValorisationBILRUN_TEST.java:25385)
2017-07-12 02:42:40 com.mongodb.MongoException$CursorNotFound:Cursor 7735397135559742070 not found on server pla********

 

job.PNG

1 REPLY
Six Stars

Re: tmongoDBInput CURSOR error

up