apache / apache/drill

IllegalArgumentException: databaseName can not be null - Mongo DB

Open
#2,440 15 comments 0 reactions 0 assignees View on GitHub
verified
Dominant language
Java
Stars
2k
Forks
990
Avg merge
1d 8h
Merged PRs (30d)
5

Description

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"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.