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

Tsz Wo (Nicholas), SZE commented on HDFS-4845:
----------------------------------------------

> It looks like loadInodeWithLocalName is only invoked during namenode startup, 
> except for tests so a lock may not be necessary. However I added it for 
> completeness.

I think it should add the lock in the tests.  Otherwise, it would slow down 
startup.
                
> FSEditLogLoader gets NPE while accessing INodeMap in TestEditLogRace
> --------------------------------------------------------------------
>
>                 Key: HDFS-4845
>                 URL: https://issues.apache.org/jira/browse/HDFS-4845
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Kihwal Lee
>            Assignee: Arpit Agarwal
>            Priority: Critical
>         Attachments: HDFS-4845.001.patch, HDFS-4845.002.patch
>
>
> TestEditLogRace fails occasionally because it gets NPE from manipulating 
> INodeMap while loading edits.

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

Reply via email to