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
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...