- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ODBC access via Knox to HiveServer2 with Hive ODBC driver v2.0.5
- Labels:
-
Apache Hive
-
Apache Knox
Created ‎12-10-2015 04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There was a tutorial that covers the configuration with older Knox version and Hive ODBC driver.
For Hive ODBC v2.0.5, does the same solution work with HDP 2.3.2 (Knox 0.5)?
Or, do we have any known issues?
Created ‎12-10-2015 04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Similar. Some tips: SSL Encryption
Support is provided for SSL encryption (Hive 0.13 onward, see HIVE-5351). To enable, set the following configurations in hive-site.xml:- hive.server2.use.SSL – Set this to true.
- hive.server2.keystore.path – Set this to your keystore path.
- hive.server2.keystore.password – Set this to your keystore password.
- ENABLE SSL must be selected in the ODBC SSL Options window.
- Ensure the "Allow Common Name Host Name Mismatch" is checked.
Created ‎12-10-2015 04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Similar. Some tips: SSL Encryption
Support is provided for SSL encryption (Hive 0.13 onward, see HIVE-5351). To enable, set the following configurations in hive-site.xml:- hive.server2.use.SSL – Set this to true.
- hive.server2.keystore.path – Set this to your keystore path.
- hive.server2.keystore.password – Set this to your keystore password.
- ENABLE SSL must be selected in the ODBC SSL Options window.
- Ensure the "Allow Common Name Host Name Mismatch" is checked.
Created ‎12-10-2015 04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it works...I tried this recently on 2.3.2. See cheatsheet here
Created ‎12-10-2015 10:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for comment @Ali Bajwa
Did you try Hive ODBC v2.0.5? (just want to double check)
Created ‎12-23-2015 12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The cheatsheet says "without them having to request kerberos ticket".
Does this mean it would need different configuration to work with Kerberoised HiveServer2?
Created ‎12-23-2015 03:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A primary benefit of using Knox is that it insulates the clients from needing to be aware of Kerberos. However, if the HDP cluster is configured with Kerberos then Knox will need to be configured to interact with the cluster securely via Kerberos with the cluster. The clients however will be unaffected.
