Hive connection?

Answered

Is There a way to connect to hive?

If so, what is the way do it?

 

Thanks!

0
4 comments

Hi,

I'm unable to connect to Hive as i'm getting a java.lang.class error - see below error.  Any possible reasons for this?

Exception in thread "main" java.lang.InstantiationException: java.sql.Driver
at java.lang.Class.newInstance(Class.java:427)
at com.intellij.database.remote.RemoteJdbcServer.main(RemoteJdbcServer.java:14)
Caused by: java.lang.NoSuchMethodException: java.sql.Driver.<init>()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 1 more.

1

Hello Dar,

With DataGrip you can connect to any database which provides jdbc driver. Based on the user feedback in this issue: https://youtrack.jetbrains.com/issue/IDEA-131179 such driver exists for Hive. You can build it, following the instructions at https://github.com/timveil/hive-jdbc-uber-jar/wiki .

May be there is Hive jdbc driver available for download from the internet somewhere already.

0

@Thanu76 
Could you please e-mail full IDE log to vasily.chernov@jetbrains.com ?

Also, can you specify jdbc driver you use for connection and screenshots of your data source and driver settings? 

0

Please sign in to leave a comment.