Error : An error occured while establishing the connection. Type: java.lang.NoClassDefFoundError Message: org/apache/http/config/Lookup
Which jar file is missing?
I was able to successfully register the driver but problem arises when I connect to Hive
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Illegal Hadoop Version: Unknown (expected A.B.* format) at java.util.concurrent.FutureTask.report(Unknown Source) at
Are you using this for kerberos?
You'll only need 2 jar files for the JDBC Client with HDP 2.3
@ Neeraj thanks again for the screenshot ...are you connecting to the secured cluster?
Not sure how to connect with kerberised cluster (i mean using keytabs (hive principals) ?
Am getting this error:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Could not open client transport with JDBC Uri:
Peer indicated failure: Unsupported mechanism type PLAIN at java.util.concurrent.FutureTask.report(Unknown Source)
No but try this
jdbc url: jdbc:hive2://hs2:10000/default;principal=hive/hs2@realm
Should add auth.jar
MIT client ---> Get the ticket from KDC