hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plamen Jeliazkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5077) NPE in FSNamesystem.commitBlockSynchronization()
Date Tue, 03 Sep 2013 16:48:53 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756772#comment-13756772
] 

Plamen Jeliazkov commented on HDFS-5077:
----------------------------------------

TestCommitBlockSynchronization was added in 2.1.0-beta as a part of HDFS-5024.

I will attach just the core patch for 2.0 branch for now. If you want the unit test as well
let me know if you would like it stand-alone or plan to do something with the work from HDFS-5024
instead. 
                
> NPE in FSNamesystem.commitBlockSynchronization()
> ------------------------------------------------
>
>                 Key: HDFS-5077
>                 URL: https://issues.apache.org/jira/browse/HDFS-5077
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.0.5-alpha
>            Reporter: Konstantin Shvachko
>            Assignee: Plamen Jeliazkov
>         Attachments: HDFS-5077_2.patch, HDFS-5077_3.patch, HDFS-5077.patch
>
>
> NN starts a block recovery, which will synchronize block replicas on different DNs. In
the end one of DNs will report the list of the nodes containing the consistent replicas to
the NN via commitBlockSynchronization() call. The NPE happens if just before processing commitBlockSynchronization()
NN removes from active one of DNs that are then reported in the call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message