You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/09/15 05:00:32 UTC
[jira] Updated: (HADOOP-1904) ArrayIndexOutOfBoundException in
BlocksMap
[ https://issues.apache.org/jira/browse/HADOOP-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HADOOP-1904:
----------------------------------------
Attachment: RedundantAddBlock.patch
> ArrayIndexOutOfBoundException in BlocksMap
> ------------------------------------------
>
> Key: HADOOP-1904
> URL: https://issues.apache.org/jira/browse/HADOOP-1904
> Project: Hadoop
> Issue Type: Bug
> Affects Versions: 0.15.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Priority: Blocker
> Fix For: 0.15.0
>
> Attachments: RedundantAddBlock.patch
>
>
> If the name-node receives a duplicate report of a written block from a data-node it does not insert
> the block into the block map but mistakenly inserts it into the list of blocks belonging to the data-node,
> placing it into the beginning of the list. Since the block is not removed from the list prior to the insertion,
> the list itself becomes corrupted.
> This patch fixes the problem. I also reorganized the add/removeNode and add/removeBlock methods
> in order to avoid similar bugs in the future.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.