hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-2064) Make call to SecurityUtil.getServerPrincipal unambiguous
Date Fri, 18 Mar 2011 17:38:29 GMT

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

Todd Lipcon commented on HIVE-2064:
-----------------------------------

This broke with HADOOP-7104.

Patch looks good to me.

> Make call to SecurityUtil.getServerPrincipal unambiguous
> --------------------------------------------------------
>
>                 Key: HIVE-2064
>                 URL: https://issues.apache.org/jira/browse/HIVE-2064
>             Project: Hive
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 0.7.0
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Blocker
>             Fix For: 0.7.0
>
>         Attachments: hive-2064-1.patch
>
>
> HadoopThriftAuthBridge20S calls SecurityUtil.getServerPrincipal and passes null for the
2nd arg. When building against the hadoop security branch this is a compilation error as it
matches the signatures of both getServerPrincipal methods (one takes a String for the 2nd
arg, one an InetAddress). This call needs to be made unambiguous eg by passing "0.0.0.0" instead
of null, which per the getServerPrincipal javadoc is equivalent:
> {quote}
> It replaces hostname pattern with hostname, which should be
>    * fully-qualified domain name. If hostname is null or "0.0.0.0", it uses
>    * dynamically looked-up fqdn of the current host instead.
> {quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message