Comments (4)
@neorand - When you say "and second run , mongo-connector can't read oplog_progress.txt file" what error do you get?
from mongo-connector.
I think I got the same issue regarding to oplog file
Mine didn't event write/find the oplog file, what I'm doing wrong? I'm using single replica set btw..
Here is the log:
2013-07-19 04:21:02,433 - INFO - Beginning Mongo Connector
2013-07-19 04:21:02,433 - INFO - No doc manager specified, using simulator.
2013-07-19 04:21:03,435 - CRITICAL - MongoConnector: Can't find OplogProgress file!
2013-07-19 04:21:03,439 - INFO - OplogManager: Initializing oplog thread
2013-07-19 04:21:03,441 - INFO - MongoConnector: Starting connection thread MongoClient('localhost', 27017)
2013-07-19 04:21:03,441 - INFO - MongoConnector: Stopping all OplogThreads
2013-07-19 04:21:03,445 - INFO - OplogManager: Collection(Database(MongoClient('localhost', 27017), u'local'), u'oplog.rs') Dumped collection into target system
from mongo-connector.
@dimaspriyanto What happens if you give it the full name of the config file? Also, do you have RW access in the directory that it's located or wherever you are running the connector from? What arguments are you passing to the connector?
from mongo-connector.
mongo-connector used to expect the oplog progress file (called "config.txt" by default) to exist already before being run. Even the scripts in the test
directory touch the config.txt file before attempting to use mongo-connector. I consider this a bug, and this behavior is fixed (mongo-connector creates the oplog progress file if it doesn't exist) in commit 26abf7a38674f98e31630834a1e7cd2b1b535595
from mongo-connector.
Related Issues (20)
- MongoDB Fields are not syncing properly with ES
- ServerSelectionTimeoutError:
- an example link is broken in Configuration Options Wiki HOT 1
- Modify number of index synchronization
- StopIteration Runtime Exception with Python 3.8
- Pysolr 3.9.0 error JSON serializing datetime HOT 1
- Could not import mongo_connector.doc_managers.neo4j_doc_manager.
- Not able to change the cluster HOT 3
- Elastic Search Authentication HOT 1
- Missing documents while connecting Mongodb and elasticsearch via mongo-connector HOT 1
- Connecto to SOLR wiht basic auth
- Mongo-connector seems not to work with transactions - doesn't sync with elasticsearch HOT 1
- -t command not found
- exitCode 48 when running a replica set HOT 11
- MongoDB 5.0.6 Compatibility Issues HOT 7
- Windows ModuleNotFoundError: No module named 'mongo_connector.doc_managers.elastic2_doc_manager'
- failed too many times HOT 1
- Need project maintainer HOT 1
- Mongodb HOT 1
- [ERROR] mongo_connector.util:98 - Call to Database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo-connector.