[ 
https://issues.apache.org/jira/browse/HDFS-8190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo Nicholas Sze updated HDFS-8190:
--------------------------------------
    Attachment: h8190_20150420b.patch

h8190_20150420b.patch: revises a java comment as below.
{code}
+      // parity block size (i.e. i >= numDataBlocks) is the same as 
+      // the first data block size (i.e. i = 0).
{code}

> StripedBlockUtil.getInternalBlockLength may have overflow error
> ---------------------------------------------------------------
>
>                 Key: HDFS-8190
>                 URL: https://issues.apache.org/jira/browse/HDFS-8190
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: h8190_20150420.patch, h8190_20150420b.patch
>
>
> 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)

Reply via email to