- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to connect to Hive through knox from Tableau.
- Labels:
-
Apache Hive
-
Apache Knox
Created ‎01-18-2016 08:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎01-19-2016 06:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks all,I just reinstalled the ODBC driver from 2.2.4 add-ons and it worked..
Created ‎01-18-2016 09:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That seems to indicate that the Knox certificate is not correctly set as trusted.
I am not sure how to do this for ODBC. In the following blog, the truststore and related password are provided in the connect string - for JDBC. The ODBC connect string may have the same idea.
You will need to import the public cert for the Knox server into whatever the truststore is.
Created ‎01-18-2016 09:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you read the "Configuring SSL Verification" section (pg 19) of the Hortonworks Hive ODBC Driver with SQL Connector User Guide. At a minimum you will need to "Enable SSL" and "Allow Self-signed Server Certificate". You may possibly require "Allow Common Name Host Name Mismatch" if you have DNS setup issues at your site. I'm not totally sure if you need a PEM file if you are using Self-signed certs. Try the above first.
http://hortonworks.com/wp-content/uploads/2015/10/Hortonworks-Hive-ODBC-Driver-User-Guide.pdf
Created ‎01-19-2016 06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Kevin,I just reinstalled the ODBC driver from 2.2.4 add-ons and it worked..
Created ‎01-18-2016 11:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See also Answers to OBDC access via Knox to HiveServer2 with Hive ODBC Driver v2.0.5
Created ‎01-19-2016 06:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks all,I just reinstalled the ODBC driver from 2.2.4 add-ons and it worked..
