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
This commit is contained in:
Aaron Myers 2011-07-25 21:44:00 +00:00
parent e8f12457c1
commit d2b31fe25f
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

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