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 2022/01/27 14:38:59 UTC

[GitHub] [drill] spydev opened a new issue #2440: IllegalArgumentException: databaseName can not be null - Mongo DB

spydev opened a new issue #2440:
URL: https://github.com/apache/drill/issues/2440


   Hi,
   
   I am trying to connect mongodb located on AWS DocumentDB database. But each time when I query it through an exception that "UserRemoteException : 	SYSTEM ERROR: IllegalArgumentException: databaseName can not be null"
   org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: IllegalArgumentException: databaseName can not be null
   
   following is my mongodb configuration (original values modified) which contain database name as well
   `{
     "type": "mongo",
     "connection": "mongodb://myusername:myPassword@myDB-Instance.us-east-3.docdb.amazonaws.com:27017/DatabaseName?authSource=admin&readPreference=primary&ssl=true&tlsAllowInvalidCertificates=true&tlsAllowInvalidHostnames=true",
     "enabled": true
   }`
   
   Even though I provide the database name but drill still through null databaseName exception
   
   I have installed drill on my windows machine and started drill by using embedded command "drill-embedded.bat"


-- 
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