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

Hudson commented on HDFS-10569:
-------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #10208 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/10208/])
HDFS-10569. A bug causes OutOfIndex error in BlockListAsLongs. (kihwal: rev 
6f63566694f8cec64a469448a8fa00ce921ce367)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/BlockListAsLongs.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/protocol/TestBlockListAsLongs.java


> 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
>             Fix For: 2.8.0, 2.9.0, 3.0.0-alpha2
>
>         Attachments: HDFS-10569.001.patch, HDFS-10569.002.patch, 
> HDFS-10569.003.patch, HDFS-10569.004.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to