You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Aaron Fabbri (JIRA)" <ji...@apache.org> on 2016/09/22 23:45:22 UTC

[jira] [Created] (HDFS-10890) Math error in AbstractContractDistCpTest

Aaron Fabbri created HDFS-10890:
-----------------------------------

             Summary: Math error in AbstractContractDistCpTest
                 Key: HDFS-10890
                 URL: https://issues.apache.org/jira/browse/HDFS-10890
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: distcp
    Affects Versions: 2.8.0
            Reporter: Aaron Fabbri
            Assignee: Aaron Fabbri
            Priority: Minor


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

{code}
int fileSizeMb = fileSizeKb * 1024;
{code}

This should be division, not multiplication.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org