[ 
https://issues.apache.org/jira/browse/HIVE-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956995#comment-13956995
 ] 

Dilli Arumugam commented on HIVE-6799:
--------------------------------------

Testing done for the patch

Before the patch

Hive Server2 log file reported exception with message
Failed to validate proxy privilage of knox/hdps.example.com for sam

The intermediary service with kerberos principal name knox/hdps.example.com was 
not able to proxy user sam.

After the patch.
Hive Server2 log does not  reported exception.

The intermediary service with kerberos principal name knox/hdps.example.com was 
able to proxy user sam and create table as sam.

> 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
>         Attachments: HIVE-6799.patch
>
>
> 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....@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)

Reply via email to