You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2021/10/25 16:47:35 UTC

[GitHub] [drill] javier-nieto-nexplore edited a comment on issue #2347: mongo connector in version 1.19.0 not reaching clusters/replica sets

javier-nieto-nexplore edited a comment on issue #2347:
URL: https://github.com/apache/drill/issues/2347#issuecomment-951111350


   Hi there,
   
   tested with apache/drill:master-openjdk-14 and atlas cluster, still the same error, I'm not digging too deep but it looks like the driver is not going through the right resolving path (Created connection to [address=HEREYOURCLUSTER.mongodb.net:27017)
   
   here is the error:
   `2021-10-25 16:32:26,310 [1e8923e6-dbdf-8b84-a50b-37cfa1d705e9:frag:0:0] INFO  o.a.d.e.s.mongo.MongoStoragePlugin - Created connection to [address=HEREYOURCLUSTER.mongodb.net:27017, user=HEREYOURUSER].
   2021-10-25 16:32:26,310 [1e8923e6-dbdf-8b84-a50b-37cfa1d705e9:frag:0:0] INFO  o.a.d.e.s.mongo.MongoStoragePlugin - Number of open connections 0.
   2021-10-25 16:32:56,397 [1e8923e6-dbdf-8b84-a50b-37cfa1d705e9:frag:0:0] WARN  o.a.d.e.s.m.s.MongoSchemaFactory - Failure while loading databases in Mongo. Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=HEREYOURCLUSTER.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: HEREYOURCLUSTER.mongodb.net}, caused by {java.net.UnknownHostException: HEREYOURCLUSTER.mongodb.net}}]`
   
   
   here the boot-start config:
   `Base Configuration:
   	- jar:file:/opt/drill/jars/drill-common-1.20.0-SNAPSHOT.jar!/drill-default.conf
   
   Intermediate Configuration and Plugin files, in order of precedence:
   	- jar:file:/opt/drill/jars/drill-storage-kafka-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-syslog-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-kudu-storage-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-memory-base-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-common-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-excel-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-druid-storage-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-storage-hbase-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-mongo-storage-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-storage-cassandra-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-hive-exec-shaded-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-storage-hive-core-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-opentsdb-storage-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-ltsv-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-image-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-storage-http-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-storage-elasticsearch-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-xml-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-logical-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-java-exec-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-jdbc-storage-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-spss-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-udfs-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-esri-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-pcapng-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-hdf5-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-format-httpd-1.20.0-SNAPSHOT.jar!/drill-module.conf
   	- jar:file:/opt/drill/jars/drill-storage-splunk-1.20.0-SNAPSHOT.jar!/drill-module.conf`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org