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

LoadGenerator#genFile write close timing is incorrectly calculated

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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.003.patch
          1 kB
          Hanisha Koneru
        2. HADOOP-14902.002.patch
          1 kB
          Hanisha Koneru
        3. HADOOP-14902.001.patch
          2 kB
          Hanisha Koneru

        Issue Links

          Activity

            People

            • Assignee:
              hanishakoneru Hanisha Koneru
              Reporter:
              jlowe Jason Darrell Lowe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment