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

Math error in AbstractContractDistCpTest

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: