-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replication between ES 1.6 and Mongo 3.1.5 does not work #287
Comments
The first attempt was done by running mono-connector from my workstation. Find the IP for the ES server in the cluster. Run this from the same machine as you executed docker inspect elasticmongo_elasticsearch_1 | ack IPA | head -1 # => "IPAddress": "172.17.0.66", Start a shell on the container running mongo as primary. docker exec -i -t elasticmongo_mongo1_1 bash mongo-connector --auto-commit-interval=0 -m localhost:27017 -t 172.17.0.66:9200 -d elastic_doc_manager This gives me no output in the log what so ever. Am I supposed to run I've tried to insert data into different databases at the primary mono-database while the transporter is running. Nothing happens. |
Try running mongo-connector with the verbose flag (-v). This should provide On Wed, Jul 15, 2015 at 5:30 AM, Martin Stabenfeldt <
|
Hi, Nope, that didn't give any output either. :-( |
Can you try adding the --stdout option? This will send output directly to Does mongo-connector exit immediately after running the command, or does it On Wed, Jul 15, 2015 at 10:26 AM, Martin Stabenfeldt <
|
Here´s the output:
mongo-connector keeps running and writes to the screen continuously.
|
Connecting to dockerhost:27018 and dockerhost:27019 gives me this prompt: dockerhost:27017 => |
Can you give it a go with the docker approach I described? Shouldn't take many minutes when you have docker and docker-compse installed. :-) |
This is strange. It seams to work with the following command: I'll continue the work on getting ES / MongoDB be friends tomorrow. Thanks for helping out! 👍 |
Hi,
I got MongoDB and ES running, started
mongo-connector --auto-commit-interval=0 -m dockerhost:27017 -t dockerhost:9200 -d elastic_doc_manager
. Any idea why I get this error message?I have a docker-compose setup that starts MongoDB in a replicaset and ES that will make it easier to replicate. https://github.com/soldotno/elastic-mongo/tree/mongo-connector
This is what I did:
git clone https://github.com/soldotno/elastic-mongo.git cd elastic-mongo git checkout mongo-connector docker-compose up -d
Start the mongo-connector
The text was updated successfully, but these errors were encountered: