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

Math error in AbstractContractDistCpTest

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha2
    • None
    • None

    Description

      There is a minor math error in AbstractContractDistCpTest when calculating file size:

      int fileSizeMb = fileSizeKb * 1024;
      

      This should be division, not multiplication.

      Attachments

        1. HADOOP-13643.001.patch
          1.0 kB
          Aaron Fabbri

        Issue Links

        Activity

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

          People

            fabbri Aaron Fabbri
            fabbri Aaron Fabbri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment