[
https://issues.apache.org/jira/browse/HIVE-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13785838#comment-13785838
]
Hudson commented on HIVE-3807:
------------------------------
SUCCESS: Integrated in Hive-trunk-hadoop1-ptest #189 (See
[https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/189/])
HIVE-3807 : Hive authorization should use short username when Kerberos
authentication (Kai Zheng via Ashutosh Chauhan) (hashutosh:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1528523)
*
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/security/HadoopDefaultAuthenticator.java
> Hive authorization should use short username when Kerberos authentication
> -------------------------------------------------------------------------
>
> Key: HIVE-3807
> URL: https://issues.apache.org/jira/browse/HIVE-3807
> Project: Hive
> Issue Type: Improvement
> Components: Authorization
> Affects Versions: 0.9.0, 0.10.0
> Reporter: Kai Zheng
> Assignee: Kai Zheng
> Fix For: 0.12.0
>
> Attachments: HIVE-3807.patch
>
>
> Currently when authentication method is Kerberos,Hive authorization uses user
> full name as privilege principal, for example, it uses [email protected]
> instead of john.
> It should use the short name instead. The benefits:
> 1. Be consistent. Hadoop, HBase and etc they all use short name in related
> ACLs or authorizations. For Hive authorization works well with them, this
> should be.
> 2. Be convenient. It's very inconvenient to use the lengthy Kerberos
> principal name when grant or revoke privileges via Hive CLI.
--
This message was sent by Atlassian JIRA
(v6.1#6144)