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

LoadGenerator#genFile write close timing is incorrectly calculated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.9.0, 2.8.3, 2.7.5, 3.0.0
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      LoadGenerator#genFile's write close timing code looks like the following:

              startTime = Time.now();
              executionTime[WRITE_CLOSE] += (Time.now() - startTime);
      

      That code will generate a zero (or near zero) write close timing since it isn't actually closing the file in-between timestamp lookups.

        Attachments

        1. HADOOP-14902.001.patch
          2 kB
          Hanisha Koneru
        2. HADOOP-14902.002.patch
          1 kB
          Hanisha Koneru
        3. HADOOP-14902.003.patch
          1 kB
          Hanisha Koneru

          Issue Links

            Activity

              People

              • Assignee:
                hanishakoneru Hanisha Koneru
                Reporter:
                jlowe Jason Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: