hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1904) ArrayIndexOutOfBoundException in BlocksMap
Date Wed, 19 Sep 2007 17:00:12 GMT

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

dhruba borthakur updated HADOOP-1904:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks Konstantin.

> 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.


Mime
View raw message