hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3266) DFSTestUtil#waitCorruptReplicas doesn't sleep between checks
Date Fri, 01 Jun 2012 21:57:22 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287715#comment-13287715
] 

Todd Lipcon commented on HDFS-3266:
-----------------------------------

Small style nit:
{code}
+      throws IOException, TimeoutException,InterruptedException {
{code}

Please add a ' ' after the ','. Sorry for the annoyance, but best to keep a consistent style
in the codebase.
                
> DFSTestUtil#waitCorruptReplicas doesn't sleep between checks
> ------------------------------------------------------------
>
>                 Key: HDFS-3266
>                 URL: https://issues.apache.org/jira/browse/HDFS-3266
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Aaron T. Myers
>            Assignee: madhukara phatak
>            Priority: Minor
>              Labels: newbie
>         Attachments: HDFS-3266.patch
>
>
> DFSTestUtil#waitCorruptReplicas runs a loop waiting for an expected number of corrupt
replicas. Unfortunately, it doesn't sleep between iterations of this loop, causing tests to
occasionally fail spuriously.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message