hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3163) TestHDFSCLI.testAll fails if the user name is not all lowercase
Date Thu, 10 May 2012 23:06:48 GMT

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

Brandon Li updated HDFS-3163:
-----------------------------

    Assignee: Brandon Li
      Status: Patch Available  (was: Open)
    
> TestHDFSCLI.testAll fails if the user name is not all lowercase
> ---------------------------------------------------------------
>
>                 Key: HDFS-3163
>                 URL: https://issues.apache.org/jira/browse/HDFS-3163
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>            Priority: Trivial
>         Attachments: HDFS-3163.patch
>
>
> In the test resource file testHDFSConf.xml, the test comparators expect user name to
be all lowercase. 
> If the user issuing the test has an uppercase in the username (e.g., Brandon instead
of brandon), many RegexpComarator tests will fail. The following is one example:
> {noformat} 
>         <comparator>
>           <type>RegexpComparator</type>
>           <expected-output>^-rw-r--r--( )*1( )*[a-z]*( )*supergroup( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,}
[0-9]{2,}:[0-9]{2,}( )*/file1</expected-output>
>         </comparator>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message