drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3822) PathScanner fails to find jdbc-all's drill-module.conf in SQuirreL
Date Tue, 22 Sep 2015 23:21:04 GMT
Krystal created DRILL-3822:

             Summary: PathScanner fails to find jdbc-all's drill-module.conf in SQuirreL
                 Key: DRILL-3822
                 URL: https://issues.apache.org/jira/browse/DRILL-3822
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - JDBC
    Affects Versions: 1.2.0
            Reporter: Krystal
            Assignee: Daniel Barclay (Drill)


I used the latest drill-jdbc-all-1.2.0-SNAPSHOT.jar against squirrel sql application.  I got
the following error when trying to connect to the drill data source:

ERROR net.sourceforge.squirrel_sql.client.gui.db.ConnectToAliasCallBack  - Unexpected Error
occurred attempting to open an SQL connection.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: oadd.com.typesafe.config.ConfigException$Missing:
No configuration setting found for key 'drill.exec'
Full error message is in the attached file. 

We turned on logging and found that the jdbc-all jar files drill-module.conf file was not
being read.  After further investigation, it seems that the PathScanner only looks for files
under the main class path and not the secondary class path.  After putting the drill-jdbc-all-1.2.0-SNAPSHOT.jar
under squirrel's main class path, squirrel was able to load the configuration modules. 
This works correctly in drill-1.1.

This message was sent by Atlassian JIRA

View raw message