[
https://issues.apache.org/jira/browse/HADOOP-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raghu Angadi reassigned HADOOP-2204:
------------------------------------
Assignee: Raghu Angadi
> DFSTestUtil.waitReplication does not wait.
> ------------------------------------------
>
> Key: HADOOP-2204
> URL: https://issues.apache.org/jira/browse/HADOOP-2204
> Project: Hadoop
> Issue Type: Bug
> Affects Versions: 0.16.0
> Reporter: Raghu Angadi
> Assignee: Raghu Angadi
> Fix For: 0.16.0
>
>
> This makes unit tests fail in unexpected ways.
> In DFSTestUtil.java :
> {code}
> /** wait for the file's replication to be done */
> static void waitReplication(FileSystem fs, Path fileName, short replFactor)
> throws IOException {
> boolean good;
> do {
> good = true;
> //... 'good' is never accessed
> } while(!good);
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.