You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org> on 2012/03/30 00:43:28 UTC
[jira] [Commented] (HDFS-3163) TestHDFSCLI.testAll fails if the
user name is not all lowercase
[ https://issues.apache.org/jira/browse/HDFS-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241885#comment-13241885 ]
Aaron T. Myers commented on HDFS-3163:
--------------------------------------
Good find, Brandon. Pretty funny, too. :)
If you post a patch, I'll review it promptly.
> 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