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

Math error in AbstractContractDistCpTest

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: