This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 215
ERRO[0015] timeout reached waiting for Out channels to clear [MongoDB->ElasticSearch] #391
Comments
based on the logs you provided, it appears as though the elasticsearch cluster went into a bad state causing the bulk insert to either fail or take longer than the default write timeout of 5 seconds |
same question INFO[0000] Establishing new connection to 10.200.20.23:27118 (timeout=1h0m0s)...
INFO[0000] Connection to 10.200.20.23:27118 established.
INFO[0005] metrics source records: 2010 path=source ts=1502939310710042479
INFO[0005] metrics source/sink records: 1998 path="source/sink" ts=1502939310710052588
INFO[0005] adaptor Listen closed... name=sink path="source/sink" type=elasticsearch
INFO[0005] adaptor Stopping... name=source path=source type=mongodb
INFO[0010] metrics source records: 2010 path=source ts=1502939315710152792
INFO[0010] metrics source/sink records: 1998 path="source/sink" ts=1502939315710167902
DEBU[0010] _bulk flush completed executionID=1 failed=0 succeeeded=1000 took=10606ms version=5 writer=elasticsearch
DEBU[0012] _bulk flush completed executionID=2 failed=0 succeeeded=998 took=1508ms version=5 writer=elasticsearch
DEBU[0014] _bulk flush completed executionID=3 failed=0 succeeeded=1 took=1513ms version=5 writer=elasticsearch
INFO[0015] metrics source records: 2010 path=source ts=1502939320710123309
INFO[0015] metrics source/sink records: 1998 path="source/sink" ts=1502939320710138139
INFO[0015] Establishing new connection to 10.200.20.23:27118 (timeout=15s)...
INFO[0015] Ping for 10.200.20.23:27120 is 0 ms
INFO[0015] Ping for 10.200.20.23:27119 is 0 ms
INFO[0015] Connection to 10.200.20.23:27118 established.
INFO[0015] Ping for 10.200.20.23:27118 is 0 ms
ERRO[0015] timeout reached waiting for Out channels to clear path=source
INFO[0015] adaptor Stopped name=source path=source type=mongodb
INFO[0015] adaptor Stopping... name=sink path="source/sink" type=elasticsearch
INFO[0015] adaptor Stopped name=sink path="source/sink" type=elasticsearch
INFO[0015] closing BulkProcessor version=5 writer=elasticsearch
INFO[0015] metrics source records: 2010 path=source ts=1502939321011812192
INFO[0015] metrics source/sink records: 1998 path="source/sink" ts=1502939321011816379
INFO[0015] exit map[source:mongodb sink:elasticsearch] ts=1502939321011817342
context deadline exceeded |
and the same problem on my side:
|
Maybe we should make the write timeout default to 5 seconds, but add it to elastic configs to increase it? @jipperinbham let me know, it's still fresh in my head to add that param |
This was referenced Aug 25, 2017
Merged
@jipperinbham I think you can close this issue, it was addressed in the documentation https://github.com/compose/transporter/tree/master/adaptor/elasticsearch |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
I am trying to Sync a MongoDB to ElasticSearch.
First I execute
./transporter init mongodb elasticsearch
Then I modified my pipe file to reflect my db.
I execute
./transporter run
I get this error & everything fails:
Here is my Schema:
My pipeline.js file:
I don't know what version this is, but I downloaded it today. It says "dev" as the version, if that helps! I'm running OS X 10.12.5
The text was updated successfully, but these errors were encountered: