hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8190) StripedBlockUtil.getInternalBlockLength may have overflow error
Date Wed, 30 Sep 2015 17:25:09 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14937861#comment-14937861
] 

Hudson commented on HDFS-8190:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #473 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/473/])
HDFS-8190. StripedBlockUtil.getInternalBlockLength may have overflow (zhezhang: rev e107886d6f621b7992f2d9a74cb1c0f987c9d774)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSStripedOutputStream.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/util/StripedBlockUtil.java


> 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
>             Fix For: HDFS-7285
>
>         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)

Mime
View raw message