hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9431) TestSecurityUtil#testLocalHostNameForNullOrWild on systems where hostname contains capital letters
Date Sun, 24 Mar 2013 14:05:15 GMT

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

Hudson commented on HADOOP-9431:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1382 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1382/])
    HADOOP-9431 TestSecurityUtil#testLocalHostNameForNullOrWild on systems where hostname
contains capital letters  (Chris Nauroth via sanjay) (Revision 1460181)

     Result = SUCCESS
sradia : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1460181
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java

                
> TestSecurityUtil#testLocalHostNameForNullOrWild on systems where hostname contains capital
letters
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9431
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9431
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security, test
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Trivial
>         Attachments: HADOOP-9431.1.patch
>
>
> {{TestSecurityUtil#testLocalHostNameForNullOrWild}} contains assertions about the principal
returned for a null or wildcard hostname.  The logic in {{SecurityUtil#getServerPrincipal}}
converts the local hostname to lower-case.  The test method does not perform the same conversion
though, so the test passes on systems with a hostname containing no upper-case letters, but
it fails if the hostname does contain upper-case letters.

--
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