Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
During NameNode startup, if there is an exception thrown before FSNamesystem.dir is created, we will get a NullPointerException.
2008-06-06 12:07:21,203 ERROR org.apache.hadoop.dfs.NameNode: java.lang.NullPointerException at org.apache.hadoop.dfs.FSNamesystem.close(FSNamesystem.java:465) at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:253) at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:148) at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:193) at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:179) at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:822) at org.apache.hadoop.dfs.NameNode.main(NameNode.java:831)