You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/30 22:28:41 UTC

[jira] [Resolved] (HDFS-1243) 0.20 append: Replication tests in TestFileAppend4 should not expect immediate replication

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

Allen Wittenauer resolved HDFS-1243.
------------------------------------

    Resolution: Fixed

Probably stale.

> 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 was sent by Atlassian JIRA
(v6.2#6252)