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

Tsz Wo Nicholas Sze commented on HDFS-9430:
-------------------------------------------

waitForLoadingFSImage() and checkNNStartup() safeguards FSNamesystem and 
NameNodeRpcServer, respectively.  In namenode, waitForLoadingFSImage() is not 
needed as mentioned.

However, FSNamesystem is also used in SecondaryNameNode and BackupNode and they 
don't have checkNNStartup().  We may forget about BackupNode since it is not 
working for a long time anyway.  We need to make sure SecondaryNameNode still 
work correctly after the change.

> waitforloadingfsimage() can be removed since checknnstartup() already ensures 
> image loaded and namenode started.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9430
>                 URL: https://issues.apache.org/jira/browse/HDFS-9430
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HDFS-9430.patch
>
>
> After initial startup,loading fsimage in between happens only for 
> secondarynn..But it wn't server any client requests.
> So IMO it would be ok to remove it.
> Please check commement [here 
> |https://issues.apache.org/jira/browse/HDFS-9413?focusedCommentId=15005129&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15005129]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to