You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Na Yang (JIRA)" <ji...@apache.org> on 2015/06/17 23:43:01 UTC

[jira] [Updated] (HIVE-11029) hadoop.proxyuser.mapr.groups does not work to restrict the groups that can be impersonated

     [ https://issues.apache.org/jira/browse/HIVE-11029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Na Yang updated HIVE-11029:
---------------------------
    Attachment: HIVE-11029.patch

> hadoop.proxyuser.mapr.groups does not work to restrict the groups that can be impersonated
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11029
>                 URL: https://issues.apache.org/jira/browse/HIVE-11029
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.13.0, 0.14.0, 1.0.0, 1.2.0
>            Reporter: Na Yang
>            Assignee: Na Yang
>         Attachments: HIVE-11029.patch
>
>
> In the core-site.xml, the hadoop.proxyuser.<user>.groups specifies the user groups which can be impersonated by the HS2 <user>. However, this does not work properly in Hive. 
> In my core-site.xml, I have the following configs:
> <property>
>   <name>hadoop.proxyuser.mapr.hosts</name>
>   <value>*</value>
> </property>
> <property>
>   <name>hadoop.proxyuser.mapr.groups</name>
>   <value>root</value>
> </property>
> I would expect with this configuration that 'mapr' can impersonate only members of the Unix group 'root'. However if I submit a query as user 'jon' the query is running as user 'jon' even though 'mapr' should not be able to impersonate this user. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)