You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2015/04/21 01:46:59 UTC
[jira] [Assigned] (HDFS-8190)
StripedBlockUtil.getInternalBlockLength may have overflow error
[ https://issues.apache.org/jira/browse/HDFS-8190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze reassigned HDFS-8190:
-----------------------------------------
Assignee: Tsz Wo Nicholas Sze
> 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
>
> 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)