Archive
Highlighted

Apache Drill JDBC connector

New Member

I was trying to setup apache drill jdbc driver using db connect (3.1.0) and splunk 6.6.2. I have multiple jars as dependency apart from driver class jar. It's failing with dependent class not found exception with dependent jars copied to $SPLUNKHOME/etc/apps/splunkappdbconnect/drivers/. Are there way to add these additional dependent jars ?

I see below note in http://docs.splunk.com/Documentation/DBX/3.1.0/DeployDBX/Installdatabasedrivers . Do we have this option in 3.1.0 ?

In DB Connect 3.0.0, the main JDBC JAR file and the extended JAR files must be installed in different folders. The path for the extended JAR file is $SPLUNKHOME/etc/apps/splunkappdbconnect/drivers/-libs. If you are using Spark SQL, or a Teradata or Oracle database, you must move dependent JAR files manually.

Tags (2)
0 Karma
Highlighted

Re: Apache Drill JDBC connector

New Member

I was able to connect finally by creating directory ' DrillJDBC41-libs' in $SPLUNKHOME/etc/apps/splunkappdbconnect/drivers. The driver file name was 'DrillJDBC41.jar'.

It was not clear from documentation regarding name to be used for dependent jar directory (Documentation says $SPLUNKHOME/etc/apps/splunkappdbconnect/drivers/-libs)

0 Karma