JDBC error, need help

Hello, all.

I’ve been using Gating for about 3 years, but have never used the JDBC feeder. I’ve gone through the documentation, I’ve read similar questions on stackoverflow.com, but I can’t get this to work.

I’m trying to connect to a hive instance through gatling and I continually get the error, “No suitable driver found for jdbc:hive-jdbc-uber-2.6.5.0-292.”

I’ve copied the hive driver from my home directory into the $GATLING_HOME/lib directory, but still no luck.

This is how the code looks in my script:

val scn = scenario(“JDBC”)

jdbcFeeder(“jdbc:hive-jdbc-uber-2.6.5.0-292://”, “”, “”, "SELECT * FROM ")

setUp(scn.inject(atOnceUsers(1)))

I just can’t get Gatling to recognize the jdbc driver.

Any help would be appreciated.

Tom

“jdbc:hive-jdbc-uber-2.6.5.0-292://”

That’s not what Hive connection urls look like: https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-ConnectionURLFormat