You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Simbarashe Dzinamarira (Jira)" <ji...@apache.org> on 2020/08/14 19:11:00 UTC

[jira] [Comment Edited] (HDFS-15290) NPE in HttpServer during NameNode startup

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

Simbarashe Dzinamarira edited comment on HDFS-15290 at 8/14/20, 7:10 PM:
-------------------------------------------------------------------------

Submitting v002 of patch to fix checkstyle issue.


was (Author: simbadzina):
Submitt v002 of patch to fix checkstyle issue.

> NPE in HttpServer during NameNode startup
> -----------------------------------------
>
>                 Key: HDFS-15290
>                 URL: https://issues.apache.org/jira/browse/HDFS-15290
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.10.0, 2.7.8, 3.3.0
>            Reporter: Konstantin Shvachko
>            Assignee: Simbarashe Dzinamarira
>            Priority: Major
>         Attachments: HDFS-15290.001.patch, HDFS-15290.002.patch
>
>
> When NameNode starts it first starts HttpServer, then starts loading fsImage and edits. While loading the namesystem field in NameNode is null. I saw that a StandbyNode sends a checkpoint request, which fails with NPE because NNStorage is not instantiated yet.
> We should check the NameNode startup status before accepting checkpoint requests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org