[
https://issues.apache.org/jira/browse/HADOOP-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529083
]
Hudson commented on HADOOP-1904:
--------------------------------
Integrated in Hadoop-Nightly #243 (See
[http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/243/])
> ArrayIndexOutOfBoundException in BlocksMap
> ------------------------------------------
>
> Key: HADOOP-1904
> URL: https://issues.apache.org/jira/browse/HADOOP-1904
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> 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.