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

Josh Elser commented on ACCUMULO-4150:
--------------------------------------

Javadoc on getCanonicalHostName starts as follows:

{noformat}
Gets the fully qualified domain name for this IP address.
Best effort method, meaning we may not be able to return
the FQDN depending on the underlying system configuration.
{noformat}

Certainly reads to me like this is the method we want to be calling.

> KerberosRenewalIT fails to finish
> ---------------------------------
>
>                 Key: ACCUMULO-4150
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4150
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Christopher Tubbs
>             Fix For: 1.7.2
>
>
> KerberosRenewalIT never finishes when I run it. Looking into it a bit, and it 
> seems SecurityUtil might be using the wrong server principal. It might need 
> to use {{InetAddress.getLocalHost().getHostName()}} instead of 
> {{.getCanonicalHostName()}}. Could this be related?



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

Reply via email to