Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.13.0
-
None
Description
Setting the following in core-site.xml works fine in a secure cluster with hive.server2.allow.user.substitution set to true:
<property> <name>hadoop.proxyuser.user1.groups</name> <value>users</value> </property> <property> <name>hadoop.proxyuser.user1.hosts</name> <value>*</value> </property>
where user1 will be proxying for user2:
!connect jdbc:hive2:/myhostname:10000/;principal=hive/_HOST@EXAMPLE.COM;hive.server2.proxy.user=user2 user1 fakepwd org.apache.hive.jdbc.HiveDriver
However, setting this in hive-site.xml throws "Failed to validate proxy privilage" exception.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-6851 HS2 proxy user - should refresh proxy user list only once
- Open