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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...