[ https://issues.apache.org/jira/browse/HDFS-15290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simbarashe Dzinamarira updated HDFS-15290: ------------------------------------------ Attachment: HDFS-15290.002.patch Status: Patch Available (was: In Progress) 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: 3.3.0, 2.10.0, 2.7.8 > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org