Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2204

DFSTestUtil.waitReplication does not wait.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.16.0
    • None
    • None

    Description

      This makes unit tests fail in unexpected ways.
      In DFSTestUtil.java :

        /** 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);
        }
      

      Attachments

        1. HADOOP-2204.patch
          0.6 kB
          Raghu Angadi

        Issue Links

          Activity

            People

              rangadi Raghu Angadi
              rangadi Raghu Angadi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: