hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatoli Fomenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9464) In test*Conf.xml regexp replication factor set to 1
Date Sun, 07 Apr 2013 02:51:15 GMT
Anatoli Fomenko created HADOOP-9464:

             Summary: In test*Conf.xml regexp replication factor set to 1
                 Key: HADOOP-9464
                 URL: https://issues.apache.org/jira/browse/HADOOP-9464
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 2.0.4-alpha
            Reporter: Anatoli Fomenko
            Priority: Critical
             Fix For: 2.0.4-alpha

In some Hadoop smoke tests (testHDFSConf.xml), in expected output for RegexpComparator, a
replication factor is hard coded to 1,
    <test> <!-- TESTED -->
      <description>ls: file using absolute path</description>
        <command>-fs NAMENODE -touchz /file1</command>
        <command>-fs NAMENODE -ls /file1</command>
        <command>-fs NAMENODE -rm /file1</command>
          <expected-output>Found 1 items</expected-output>
          <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>

such as the first "1" in 

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

We found in Bigtop testing on a standalone cluster that such tests fail with a default replication

Please update the regexp in test*Conf.xml files to add a flexibility for a replication factor
that would allow to execute these tests with a variety of clusters, or inside the Bigtop.

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

View raw message