- 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 deploy 2 HiveServer2 processes on same host; one with LDAP authentication and other one with Kerberos authentication
- Labels:
-
Apache Hive
Created ‎10-07-2015 04:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hiveserver2 only supports 1 Authentication method at a time? if so, how to have 2 authentication methods for different clients? And How to deploy 2 HiveServer2 processes on same host; one with LDAP authentication and other one with Kerberos authentication.
Created ‎10-07-2015 04:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The trick will be to manage separate hive configs for each HiveServer2 instance. You will need to use different values for authentication properties and the port on which to start.
Created ‎10-07-2015 04:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The trick will be to manage separate hive configs for each HiveServer2 instance. You will need to use different values for authentication properties and the port on which to start.
Created ‎11-09-2015 06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can manually startup the second HS2 instance and use --hiveconf to override some of the properties from the standard config.
Created ‎10-09-2015 02:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Deepesh, Yes, also modification of init.d scripts. Looks like there is no documentation / best practice around it ?
Created ‎10-09-2015 03:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that is not documented as its not a common configuration/practice.
Created ‎10-10-2015 12:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please use/test different config groups. This is reference to old docs.
Created ‎11-09-2015 06:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately config groups are only applicable when the HS2 instances are on different hosts.
Created ‎08-02-2016 06:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found this,thread when I am looking to create the 2 HS2 Instance on same Host, with different Authentication. I can create it Manually, but there will be Maintainability issues. Any trick through which we can do it through Ambari2.2.1?
