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

Lefty Leverenz commented on HIVE-12981:
---------------------------------------

I've documented the leading-zeros issue in the wiki.  (If anyone has additional 
information, please let me know or put it in the wiki.)

* [How To Contribute -- Precommit Tests by Hive QA | 
https://cwiki.apache.org/confluence/display/Hive/HowToContribute#HowToContribute-PrecommitTestsbyHiveQA]

> ThriftCLIService uses incompatible getShortName() implementation
> ----------------------------------------------------------------
>
>                 Key: HIVE-12981
>                 URL: https://issues.apache.org/jira/browse/HIVE-12981
>             Project: Hive
>          Issue Type: Bug
>          Components: Authentication, Authorization, CLI, Security
>    Affects Versions: 1.2.1, 2.1.0
>            Reporter: Bolke de Bruin
>            Assignee: Thejas M Nair
>            Priority: Critical
>              Labels: kerberos
>         Attachments: 0001-HIVE-12981-Use-KerberosName.patch, 
> HIVE-12981-branch-1.2.patch, HIVE-12981.01.patch, HIVE-12981.patch
>
>
> ThriftCLIService has a local implementation getShortName() that assumes a 
> short name is always the part before "@" and "/". This is not always the case 
> as Kerberos Rules (from Hadoop's KerberosName) might actually transform a 
> name to something else.
> Considering a pending change to getShortName() (#HADOOP-12751) and the normal 
> use of KerberosName in other parts of Hive it only seems logical to use the 
> standard implementation.



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

Reply via email to