Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
Last night's nightly build had a bunch of NPEs thrown in NameNode.stop. Not sure which patch introduced the issue, but the problem is that NameNode.stop() is called if an exception is thrown during startup. If the exception is thrown before the namesystem is created, then NameNode.namesystem is null, and namesystem.stop throws NPE.