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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: