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 "dragon (JIRA)" <ji...@apache.org> on 2016/03/15 09:15:37 UTC

[jira] [Created] (HDFS-10039) CLONE - StripedBlockUtil.getInternalBlockLength may have overflow error

dragon created HDFS-10039:
-----------------------------

             Summary: CLONE - StripedBlockUtil.getInternalBlockLength may have overflow error
                 Key: HDFS-10039
                 URL: https://issues.apache.org/jira/browse/HDFS-10039
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: dragon
            Assignee: Tsz Wo Nicholas Sze
             Fix For: HDFS-7285


Both numStripes and cellSize are int but
{code}
long blkSize = (numStripes - 1) * cellSize;
{code}
When the actually block size > Integer.MAX_VALUE, the computation has overflow error.




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