Five Stars

tMongoDBoutput error : not talking to master and retries used up

hello

I have a job who make two things :

- Put informations in mongoDB base

- Put informations in a csv file.

mongo0.PNG

mongo1.PNG

 

 

Démarrage du job MonitoringDocsis_DD_DEC_Mongo a 08:51 19/06/2017.
[statistics] connecting to socket on port 3499
[statistics] connected
-------------------------------------------------------------------
2017-06-19 08:51:06 begin
Exception in component tMongoDBOutput_1
com.mongodb.MongoException: not talking to master and retries used up
	at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:323)
	at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:325)
	at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:325)
	at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:273)
	at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:86)
	at com.mongodb.DB.command(DB.java:320)
	at com.mongodb.DB.command(DB.java:299)
	at com.mongodb.DB.command(DB.java:388)
	at com.mongodb.DBApiLayer.getCollectionNames(DBApiLayer.java:152)
	at com.mongodb.DB.collectionExists(DB.java:524)
	at local_project.monitoringdocsis_dd_dec_mongo_0_1.MonitoringDocsis_DD_DEC_Mongo.tMysqlInput_1Process(MonitoringDocsis_DD_DEC_Mongo.java:13628)
	at local_project.monitoringdocsis_dd_dec_mongo_0_1.MonitoringDocsis_DD_DEC_Mongo.tMongoDBConnection_1Process(MonitoringDocsis_DD_DEC_Mongo.java:1062)
	at local_project.monitoringdocsis_dd_dec_mongo_0_1.MonitoringDocsis_DD_DEC_Mongo.runJobInTOS(MonitoringDocsis_DD_DEC_Mongo.java:36597)
2017-06-19 08:51:06 end - failure - durée job :437 ms
[statistics] disconnected
	at local_project.monitoringdocsis_dd_dec_mongo_0_1.MonitoringDocsis_DD_DEC_Mongo.main(MonitoringDocsis_DD_DEC_Mongo.java:36357)
2017-06-19 08:51:06 com.mongodb.MongoException:not talking to master and retries used up

I don't understand this error. Thanks

 

 

  • Data Integration
1 ACCEPTED SOLUTION

Accepted Solutions
Five Stars

Re: tMongoDBoutput error : not talking to master and retries used up

Solution : la connect-string est du type serveur et pas replSet, ducoup la communication ne pouvait pas se faire.

1 REPLY
Five Stars

Re: tMongoDBoutput error : not talking to master and retries used up

Solution : la connect-string est du type serveur et pas replSet, ducoup la communication ne pouvait pas se faire.