hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-1904) ArrayIndexOutOfBoundException in BlocksMap
Date Sat, 15 Sep 2007 03:00:32 GMT
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.


Mime
View raw message