Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3266

DFSTestUtil#waitCorruptReplicas doesn't sleep between checks

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.

      1. HDFS-3266.patch
        1 kB
        madhukara phatak
      2. HDFS-3266-1.patch
        1 kB
        madhukara phatak

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              madhukara phatak
              Reporter:
              Aaron T. Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development