hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3163) TestHDFSCLI.testAll fails if the user name is not all lowercase
Date Thu, 29 Mar 2012 22:29:28 GMT
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
            Priority: Trivial


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