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

Hairong Kuang updated HADOOP-1047:
----------------------------------

    Attachment: testReplication.patch

This patch removes the non-determinism in testReplication by
1. waiting until all replicas are placed
2. allows chooseTarget to ignore the datanode load factor when placing replicas

> TestReplication fails because DFS does not guarantee all the replicas are 
> placed when a file is closed
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-1047
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1047
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.11.2
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>         Attachments: testReplication.patch
>
>
> TestReplication asserts that the number of replicas that a file has is equal 
> to its replication factor immediately after a file is closed. But DFS only 
> guarantees  the minimun number of replicas is placed when a file is closed. 
> This leads to occasional failure of TestReplication.

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

Reply via email to