You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Dilli Arumugam (JIRA)" <ji...@apache.org> on 2014/04/01 05:36:17 UTC

[jira] [Updated] (HIVE-6799) HiveServer2 needs to map kerberos name to local name before proxy check

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

Dilli Arumugam updated HIVE-6799:
---------------------------------

    Description: 
HiveServer2 does not map kerberos name of authenticated principal to local name.

Due to this, I get error like the following in HiveServer log:
Failed to validate proxy privilage of knox/hdps.example.com for sam

I have KINITED as knox/hdps.example.com@EXAMPLE.COM

I do have the following in core-site.xml

  <property>
    <name>hadoop.proxyuser.knox.groups</name>
    <value>users</value>
  </property>
  <property>
    <name>hadoop.proxyuser.knox.hosts</name>
    <value>*</value>
  </property>




  was:
HiveServer2 does not map kerberos name of authenticated principal to local name.

Due to this, I get error like the following in HiveServer log:
Failed to validate proxy privilage of knox/hdps.example.com for sam

I have KINITED as knox/hdps.example.com@EXAMPLE.COM

I do have the following in core-site.xml

  <property>
    <name>hadoop.proxyuser.knox.groups</name>
    <value>users</value>
  </property>
  <property>
    <name>hadoop.proxyuser.knox.hosts</name>
    <value>*</value>
  </property>

Other hadoop ecosystem services do this and call it "auth to local" mapping. This needs to be added to HiveServer2 as well.



> HiveServer2 needs to map kerberos name to local name before proxy check
> -----------------------------------------------------------------------
>
>                 Key: HIVE-6799
>                 URL: https://issues.apache.org/jira/browse/HIVE-6799
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Dilli Arumugam
>            Assignee: Dilli Arumugam
>
> HiveServer2 does not map kerberos name of authenticated principal to local name.
> Due to this, I get error like the following in HiveServer log:
> Failed to validate proxy privilage of knox/hdps.example.com for sam
> I have KINITED as knox/hdps.example.com@EXAMPLE.COM
> I do have the following in core-site.xml
>   <property>
>     <name>hadoop.proxyuser.knox.groups</name>
>     <value>users</value>
>   </property>
>   <property>
>     <name>hadoop.proxyuser.knox.hosts</name>
>     <value>*</value>
>   </property>



--
This message was sent by Atlassian JIRA
(v6.2#6252)