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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.9.0, 2.8.3, 2.7.5, 3.0.0
    • fs
    • None
    • 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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment