hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10569) A bug causes OutOfIndex error in BlockListAsLongs
Date Wed, 29 Jun 2016 02:59:45 GMT

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

Weiwei Yang updated HDFS-10569:
-------------------------------
    Priority: Major  (was: Minor)

> 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
>         Attachments: HDFS-10569.001.patch, HDFS-10569.002.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


Mime
View raw message