hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1243) 0.20 append: Replication tests in TestFileAppend4 should not expect immediate replication
Date Thu, 17 Jun 2010 23:15:23 GMT
0.20 append: Replication tests in TestFileAppend4 should not expect immediate replication
-----------------------------------------------------------------------------------------

                 Key: HDFS-1243
                 URL: https://issues.apache.org/jira/browse/HDFS-1243
             Project: Hadoop HDFS
          Issue Type: Test
          Components: test
    Affects Versions: 0.20-append
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Minor
             Fix For: 0.20-append
         Attachments: hdfs-1243.txt

The replicationTest() cases in TestFileAppend4 currently assume that the file has both valid
replicas immediately after completing the file. However, the datanodes may take some milliseconds
to report the replica - we should only expect 1 replica (fs.replication.min) immediately after
close, and we should allow up to a second or so before asserting that we reach replication
2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message