Browse Source

HDFS-2144. If SNN shuts down during initialization it does not log the cause. (Ravi Prakash via atm)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150927 13f79535-47bb-0310-9956-ffa450edef68
Aaron Myers 14 years ago
parent
commit
d2b31fe25f

+ 3 - 0
hdfs/CHANGES.txt

@@ -596,6 +596,9 @@ Trunk (unreleased changes)
     HDFS-1739.  Add available volume size to the error message when datanode
     throws DiskOutOfSpaceException.  (Uma Maheswara Rao G via szetszwo)
 
+    HDFS-2144. If SNN shuts down during initialization it does not log the
+    cause. (Ravi Prakash via atm)
+
   OPTIMIZATIONS
 
     HDFS-1458. Improve checkpoint performance by avoiding unnecessary image

+ 1 - 0
hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java

@@ -130,6 +130,7 @@ public class SecondaryNameNode implements Runnable {
       initialize(conf);
     } catch(IOException e) {
       shutdown();
+      LOG.fatal("Failed to start secondary namenode. ", e);
       throw e;
     }
   }