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

DFSTestUtil.waitReplication does not wait.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment