hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12981) ThriftCLIService uses incompatible getShortName() implementation
Date Sat, 13 Feb 2016 23:05:18 GMT

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

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

It looks like you remembered to cancel the previous patch and resubmit, so that's okay.

Just guessing here:  maybe your patch name has too many leading zeros on "0001".  I've seen
patches without any leading zeros in that position and patches with one leading zero (such
as HIVE-12878 and HIVE-12994) but don't recall any with this many.

> 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.0001.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)

Mime
View raw message