[ 
https://issues.apache.org/jira/browse/HIVE-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eli Collins updated HIVE-2064:
------------------------------

    Attachment: hive-2064-1.patch

Patch attached.

> 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

Reply via email to