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 "Kihwal Lee (JIRA)" <ji...@apache.org> on 2016/06/23 13:42:16 UTC
[jira] [Commented] (HDFS-10569) A bug causes OutOfIndex error in
BlockListAsLongs
[ https://issues.apache.org/jira/browse/HDFS-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346443#comment-15346443 ]
Kihwal Lee commented on HDFS-10569:
-----------------------------------
It looks like {{index2BlockId()}} was used to get the right index before the change.
[~daryn], please have a look.
> A bug causes OutOfIndex error in BlockListAsLongs
> -------------------------------------------------
>
> Key: HDFS-10569
> URL: https://issues.apache.org/jira/browse/HDFS-10569
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Weiwei Yang
> Assignee: Weiwei Yang
> Priority: Minor
> Attachments: HDFS-10569.001.patch
>
>
> An obvious bug in LongsDecoder.getBlockListAsLongs(), the size of var *longs* is +2 to the size of *values*, but the for-loop accesses *values* using *longs* index. This will cause OutOfIndex.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org