HADOOP-10562. Namenode exits on exception without printing stack trace in AbstractDelegationTokenSecretManager. (Contributed by Suresh Srinivas)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1591782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arpit Agarwal 2014-05-01 21:14:51 +00:00
parent 6420249d47
commit 94381e82ab
2 changed files with 5 additions and 2 deletions

View File

@ -431,6 +431,10 @@ Release 2.5.0 - UNRELEASED
HADOOP-10543. RemoteException's unwrapRemoteException method failed for HADOOP-10543. RemoteException's unwrapRemoteException method failed for
PathIOException. (Yongjun Zhang via atm) PathIOException. (Yongjun Zhang via atm)
HADOOP-10562. Namenode exits on exception without printing stack trace
in AbstractDelegationTokenSecretManager. (Suresh Srinivas via Arpit
Agarwal)
Release 2.4.1 - UNRELEASED Release 2.4.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -560,8 +560,7 @@ extends AbstractDelegationTokenIdentifier>
} }
} }
} catch (Throwable t) { } catch (Throwable t) {
LOG.error("ExpiredTokenRemover thread received unexpected exception. " LOG.error("ExpiredTokenRemover thread received unexpected exception", t);
+ t);
Runtime.getRuntime().exit(-1); Runtime.getRuntime().exit(-1);
} }
} }