[ https://issues.apache.org/jira/browse/HADOOP-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghu Angadi updated HADOOP-2204: --------------------------------- Attachment: HADOOP-2204.patch Trivial fix. > DFSTestUtil.waitReplication does not wait. > ------------------------------------------ > > Key: HADOOP-2204 > URL: https://issues.apache.org/jira/browse/HADOOP-2204 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.16.0 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Fix For: 0.16.0 > > Attachments: HADOOP-2204.patch > > > 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.