All Apps and Add-ons

Apache Drill JDBC connector

arjun_kr
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 $SPLUNK_HOME/etc/apps/splunk_app_db_connect/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 $SPLUNK_HOME/etc/apps/splunk_app_db_connect/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

arjun_kr
New Member

I was able to connect finally by creating directory ' DrillJDBC41-libs' in $SPLUNK_HOME/etc/apps/splunk_app_db_connect/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 $SPLUNK_HOME/etc/apps/splunk_app_db_connect/drivers/-libs)

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.