Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3266

DFSTestUtil#waitCorruptReplicas doesn't sleep between checks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              phatak.dev madhukara phatak
              atm Aaron Myers
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: