hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2204) DFSTestUtil.waitReplication does not wait.
Date Wed, 14 Nov 2007 02:29:43 GMT

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

Raghu Angadi updated HADOOP-2204:
---------------------------------

    Component/s: dfs

> 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.


Mime
View raw message