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

Ming Ma commented on HDFS-9430:
-------------------------------

Thanks all. I agree with the above analysis and the patch is good to go. For 
the http scenario, {{NameNodeHttpServer}} is started up before fsimage load. So 
it seems possible for {{NamenodeFsck#fsck}} to get a NPE when it tries to 
access RPC server. But that is ok as the jetty thread will catch that exception 
and NN startup won't be impacted.

> 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