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

Math error in AbstractContractDistCpTest

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate 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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment