Coder Social home page Coder Social logo

Cloudera Impala JDBC support? about ejc-sql HOT 4 OPEN

jqtruong avatar jqtruong commented on July 21, 2024
Cloudera Impala JDBC support?

from ejc-sql.

Comments (4)

jqtruong avatar jqtruong commented on July 21, 2024

actually, i found the result-file and saw another error:

Error: No suitable driver found for jdbc:impala://my.impala.server:21050;AuthMech=3;SSL=1;UseNativeQuery=1;

from ejc-sql.

jqtruong avatar jqtruong commented on July 21, 2024

my updated connection config:

 :classpath "<path to jar>/cloudera-jdbc-drivers/lib/2.6.30.1036/ImpalaJDBC42-2.6.30.1036.jar"
 :classname "com.cloudera.impala.jdbc.Driver"
 :connection-uri "jdbc:impala://my.impala.server:21050;AuthMech=3;SSL=1;UseNativeQuery=1;"

i also added config for :dbname, :user, and :password but not necessary to show y'all that. FYI, the user and pw in the connection string would be: UID and PWD.

from ejc-sql.

jqtruong avatar jqtruong commented on July 21, 2024

the issue with the split string is because i didn't put the jdbc jar under ~/.m2/repository/ so that's fixed, and the error in the backtrace now is:

error in process filter: Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:445).
com.cloudera.impala.jdbc.Driver

but i see the class if i unzip the jar, at: com/cloudera/impala/jdbc/Driver.class.

from ejc-sql.

kostafey avatar kostafey commented on July 21, 2024

@jqtruong unfortunately, I don't have Cloudera Impala database installed. Could you please try to use dependencies instead of classpath in the configuration:

:dependencies [[Impala/ImpalaJDBC42 "2.6.26.1031"]]

from ejc-sql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.