hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8882) uppercase namenode host name causes fsck to fail when useKsslAuth is on
Date Thu, 11 Oct 2012 15:37:03 GMT

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

Arpit Gupta updated HADOOP-8882:
--------------------------------

    Attachment: HADOOP-8882.branch-1.patch

updated the patch to use the method in kerberosUtil.getServicePrincipal.

That method uses LOCALE.US in toLowerCase
                
> uppercase namenode host name causes fsck to fail when useKsslAuth is on
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-8882
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8882
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1.0.3, 1.1.0, 1.2.0
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>         Attachments: HADOOP-8882.branch-1.patch, HADOOP-8882.branch-1.patch
>
>
> {code}
>  public static void fetchServiceTicket(URL remoteHost) throws IOException {
>     if(!UserGroupInformation.isSecurityEnabled())
>       return;
>     
>     String serviceName = "host/" + remoteHost.getHost();
> {code}
> the hostname should be converted to lower case. Saw this in branch 1, will look at trunk
and update the bug accordingly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message