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

[Tool:NNloadGeneratorMR] Multiple threads are using same id for creating file LoadGenerator#write

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None

    Description

      // id would be same for multiple file, so it may occur file not found exception
      private void write() throws IOException {
        String dirName = dirs.get(r.nextInt(dirs.size()));
        Path file = new Path(dirName, hostname+id);
        ....
        fc.delete(file, true);
        ..
      }
      

      Attachments

        1. HADOOP-16585.002.patch
          1 kB
          Ranith Sardar
        2. HADOOP-16585.001.patch
          0.9 kB
          Ranith Sardar

        Activity

          People

            RANith Ranith Sardar
            RANith Ranith Sardar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: